From 1e5f18bfe86f5f3905b231ae75fd0db6ca6dfcbb Mon Sep 17 00:00:00 2001 From: John Preston Date: Mon, 11 Apr 2022 12:30:46 +0400 Subject: [PATCH] Request bots on updateAttachMenuBots. --- Telegram/SourceFiles/api/api_updates.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/api/api_updates.cpp b/Telegram/SourceFiles/api/api_updates.cpp index 361dc89ef..804c38311 100644 --- a/Telegram/SourceFiles/api/api_updates.cpp +++ b/Telegram/SourceFiles/api/api_updates.cpp @@ -34,6 +34,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL #include "data/data_scheduled_messages.h" #include "data/data_send_action.h" #include "data/data_message_reactions.h" +#include "inline_bots/bot_attach_web_view.h" #include "chat_helpers/emoji_interactions.h" #include "lang/lang_cloud_manager.h" #include "history/history.h" @@ -2002,7 +2003,7 @@ void Updates::feedUpdate(const MTPUpdate &update) { } break; case mtpc_updateAttachMenuBots: { - + session().attachWebView().requestBots(); } break; case mtpc_updateWebViewResultSent: {