2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35: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

@@ -541,6 +541,7 @@ not_null<UserData*> Session::processUser(const MTPUser &data) {
} else {
result->botInfo->inlinePlaceholder = QString();
}
result->botInfo->supportsAttachMenu = data.is_bot_attach_menu();
} else {
result->setBotInfoVersion(-1);
}