diff options
| author | levlam <levlam@telegram.org> | 2026-06-29 17:35:45 +0300 |
|---|---|---|
| committer | levlam <levlam@telegram.org> | 2026-06-29 17:35:45 +0300 |
| commit | 8a7bd041cb15b7f8467dc7ea020e27f0520946e0 (patch) | |
| tree | fe9ee9399f93a4662c438ddbfa6d62950c78902f /td/generate | |
| parent | 8d2cc61664a4073d6f54ecaa0fa8cd7fecbbede5 (diff) | |
Add botCommand.is_ephemeral.
Diffstat (limited to 'td/generate')
| -rw-r--r-- | td/generate/scheme/td_api.tl | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/td/generate/scheme/td_api.tl b/td/generate/scheme/td_api.tl index ddfdd4cf7..b28eb2096 100644 --- a/td/generate/scheme/td_api.tl +++ b/td/generate/scheme/td_api.tl @@ -819,8 +819,11 @@ userTypeBot can_be_edited:Bool can_join_groups:Bool can_read_all_group_messages: userTypeUnknown = UserType; -//@description Represents a command supported by a bot @command Text of the bot command @param_description Description of the bot command -botCommand command:string description:string = BotCommand; +//@description Represents a command supported by a bot +//@command Text of the bot command +//@param_description Description of the bot command +//@is_ephemeral True, if the command must send an ephemeral message instead of a regular one +botCommand command:string description:string is_ephemeral:Bool = BotCommand; //@description Contains a list of bot commands @bot_user_id Bot's user identifier @commands List of bot commands botCommands bot_user_id:int53 commands:vector<botCommand> = BotCommands; |
