2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Support custom attach bot icons.

This commit is contained in:
John Preston
2022-03-29 18:14:11 +04:00
parent 426be943a2
commit 72ae2f0269
10 changed files with 297 additions and 51 deletions

View File

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