2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-30 22:16:14 +00:00

Update API scheme on layer 140.

Handle attach argument in resolve username links.
This commit is contained in:
John Preston
2022-03-24 17:41:59 +04:00
parent cdde9f8841
commit 841da9dde8
9 changed files with 73 additions and 1 deletions

View File

@@ -190,10 +190,14 @@ public:
BotStartType startType = BotStartType::None;
QString startToken;
ChatAdminRights startAdminRights;
QString attachBotUsername;
std::optional<QString> voicechatHash;
FullMsgId clickFromMessageId;
};
void showPeerByLink(const PeerByLinkInfo &info);
void showAttachWebview(
not_null<PeerData*> peer,
const QString &botUsername);
void showRepliesForMessage(
not_null<History*> history,