mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
bot description displayed in message history, bot commands are highlighted and sent by click
This commit is contained in:
@@ -124,9 +124,13 @@ struct BotCommand {
|
||||
QString command, params, description;
|
||||
};
|
||||
struct BotInfo {
|
||||
BotInfo() : inited(false), version(0), text(st::msgMinWidth) {
|
||||
}
|
||||
bool inited;
|
||||
int32 version;
|
||||
QString shareText, description;
|
||||
QList<BotCommand> commands;
|
||||
Text text; // description
|
||||
};
|
||||
|
||||
struct PhotoData;
|
||||
|
Reference in New Issue
Block a user