2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 22:46:10 +00:00

Added menu item to bot info for bot management.

This commit is contained in:
23rd
2023-04-09 20:36:39 +03:00
committed by John Preston
parent a0ca3beef8
commit 2276a4c9af
4 changed files with 9 additions and 2 deletions

View File

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