2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +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

@@ -361,6 +361,7 @@ bool ResolveUsernameOrPhone(
.startType = startType,
.startToken = startToken,
.startAdminRights = adminRights,
.attachBotUsername = params.value(u"attach"_q),
.voicechatHash = (params.contains(u"livestream"_q)
? std::make_optional(params.value(u"livestream"_q))
: params.contains(u"videochat"_q)