mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Implement recent/popular apps list.
This commit is contained in:
@@ -721,6 +721,8 @@ not_null<UserData*> Session::processUser(const MTPUser &data) {
|
||||
result->botInfo->supportsAttachMenu = data.is_bot_attach_menu();
|
||||
result->botInfo->supportsBusiness = data.is_bot_business();
|
||||
result->botInfo->canEditInformation = data.is_bot_can_edit();
|
||||
result->botInfo->activeUsers = data.vbot_active_users().value_or_empty();
|
||||
result->botInfo->hasMainApp = data.is_bot_has_main_app();
|
||||
} else {
|
||||
result->setBotInfoVersion(-1);
|
||||
}
|
||||
|
Reference in New Issue
Block a user