2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Update API scheme on layer 140.

This commit is contained in:
John Preston
2022-03-31 13:24:13 +04:00
parent 2aa293f1a5
commit b1e66279d5
7 changed files with 207 additions and 127 deletions

View File

@@ -196,7 +196,7 @@ public:
QString startToken;
ChatAdminRights startAdminRights;
QString attachBotUsername;
bool attachBotToggle = false;
std::optional<QString> attachBotToggleCommand;
std::optional<QString> voicechatHash;
FullMsgId clickFromMessageId;
};
@@ -267,6 +267,9 @@ private:
void showPeerByLinkResolved(
not_null<PeerData*> peer,
const PeerByLinkInfo &info);
void joinVoiceChatFromLink(
not_null<PeerData*> peer,
const PeerByLinkInfo &info);
const not_null<Main::Session*> _session;