mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Support media covers for bot descriptions.
For that replace custom handling of _botAbout by a fake message.
This commit is contained in:
@@ -24,9 +24,13 @@ struct BotInfo {
|
||||
bool cantJoinGroups = false;
|
||||
bool supportsAttachMenu = false;
|
||||
int version = 0;
|
||||
QString description, inlinePlaceholder;
|
||||
int descriptionVersion = 0;
|
||||
QString description;
|
||||
QString inlinePlaceholder;
|
||||
std::vector<Data::BotCommand> commands;
|
||||
Ui::Text::String text;
|
||||
|
||||
PhotoData *photo = nullptr;
|
||||
DocumentData *document = nullptr;
|
||||
|
||||
QString botMenuButtonText;
|
||||
QString botMenuButtonUrl;
|
||||
|
Reference in New Issue
Block a user