aboutsummaryrefslogtreecommitdiffhomepage
path: root/td/generate
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2026-06-29 17:35:45 +0300
committerlevlam <levlam@telegram.org>2026-06-29 17:35:45 +0300
commit8a7bd041cb15b7f8467dc7ea020e27f0520946e0 (patch)
treefe9ee9399f93a4662c438ddbfa6d62950c78902f /td/generate
parent8d2cc61664a4073d6f54ecaa0fa8cd7fecbbede5 (diff)
Add botCommand.is_ephemeral.
Diffstat (limited to 'td/generate')
-rw-r--r--td/generate/scheme/td_api.tl7
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;