From a5f1209f28920d2102e5929c0efc2ee756cfb5cc Mon Sep 17 00:00:00 2001 From: John Preston Date: Thu, 12 Sep 2024 14:03:23 +0400 Subject: [PATCH] Remove redundant web apps code. --- .../inline_bots/bot_attach_web_view.h | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/Telegram/SourceFiles/inline_bots/bot_attach_web_view.h b/Telegram/SourceFiles/inline_bots/bot_attach_web_view.h index e9622fd02..4958ba19d 100644 --- a/Telegram/SourceFiles/inline_bots/bot_attach_web_view.h +++ b/Telegram/SourceFiles/inline_bots/bot_attach_web_view.h @@ -80,24 +80,6 @@ struct AttachWebViewBot { bool requestWriteAccess : 1 = false; }; -struct AddToMenuOpenAttach { - QString startCommand; - PeerTypes chooseTypes; -}; -struct AddToMenuOpenMenu { - QString startCommand; -}; -struct AddToMenuOpenApp { - not_null app; - QString startCommand; -}; -struct AddToMenuOpen : std::variant< - AddToMenuOpenAttach, - AddToMenuOpenMenu, - AddToMenuOpenApp> { - using variant::variant; -}; - struct WebViewSourceButton { bool simple = false;