2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Implement opening of t.me/bot/app-s.

This commit is contained in:
John Preston
2023-03-03 12:35:49 +04:00
committed by 23rd
parent ae5f2add0e
commit af51307aa6
21 changed files with 358 additions and 44 deletions

View File

@@ -97,6 +97,7 @@ inline constexpr bool is_flag_type(GifPauseReason) { return true; };
enum class ResolveType {
Default,
BotApp,
BotStart,
AddToGroup,
AddToChannel,
@@ -208,6 +209,8 @@ public:
QString startToken;
ChatAdminRights startAdminRights;
bool startAutoSubmit = false;
QString botAppName;
bool botAppForceConfirmation = false;
QString attachBotUsername;
std::optional<QString> attachBotToggleCommand;
InlineBots::PeerTypes attachBotChooseTypes;