Remove redundant web apps code.

This commit is contained in:
John Preston 2024-09-12 14:03:23 +04:00
parent 9a44ca2769
commit a5f1209f28

View file

@ -80,24 +80,6 @@ struct AttachWebViewBot {
bool requestWriteAccess : 1 = false;
};
struct AddToMenuOpenAttach {
QString startCommand;
PeerTypes chooseTypes;
};
struct AddToMenuOpenMenu {
QString startCommand;
};
struct AddToMenuOpenApp {
not_null<BotAppData*> app;
QString startCommand;
};
struct AddToMenuOpen : std::variant<
AddToMenuOpenAttach,
AddToMenuOpenMenu,
AddToMenuOpenApp> {
using variant::variant;
};
struct WebViewSourceButton {
bool simple = false;