44 if (
auto&& tupdate = update.dynamicCast<qTbot::TelegramUpdate>()) {
45 if (tupdate->contains(tupdate->MessageUpdate)) {
46 auto mesg = tupdate->message();
47 if (mesg->text() ==
"/start") {
49 sendMessage(mesg->chatId(), QuasarAppUtils::Locales::tr(
"This bot is still under development.",
50 QLocale(mesg->languageCode())));
51 QCoreApplication::processEvents();
53 sendMessage(mesg->chatId(), QuasarAppUtils::Locales::tr(
"We are working very hard on our new delivery service to make it as easy as possible for you to be with us wherever you are.",
54 QLocale(mesg->languageCode())));
55 QCoreApplication::processEvents();
58 sendMessage(mesg->chatId(), QuasarAppUtils::Locales::tr(
"Thank you for your wait.",
59 QLocale(mesg->languageCode())));
65 markUpdateAsProcessed(update);
66 _db->addProcessedId(update->updateId());