aboutsummaryrefslogtreecommitdiffhomepage
path: root/td/generate
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2026-07-11 22:35:20 +0300
committerlevlam <levlam@telegram.org>2026-07-11 22:35:20 +0300
commit860903e2d332aa2b4458f33aaa74cc9f3b3da3ae (patch)
tree87841184b29305ca4aa77115cbd3364599d1125b /td/generate
parenta82cc1c4cc0d79e0c2fc160fb4237e061dd74170 (diff)
Add td_api::editEphemeralMessage.
Diffstat (limited to 'td/generate')
-rw-r--r--td/generate/scheme/td_api.tl11
1 files changed, 10 insertions, 1 deletions
diff --git a/td/generate/scheme/td_api.tl b/td/generate/scheme/td_api.tl
index 0b894ed9b..c408cce05 100644
--- a/td/generate/scheme/td_api.tl
+++ b/td/generate/scheme/td_api.tl
@@ -12198,7 +12198,7 @@ editMessageCaption chat_id:int53 message_id:int53 reply_markup:ReplyMarkup capti
//@reply_markup The new message reply markup; pass null if none
editMessageReplyMarkup chat_id:int53 message_id:int53 reply_markup:ReplyMarkup = Message;
-//@description Edits the text of an inline text or game message sent via a bot; for bots only
+//@description Edits the text of an inline text or game message sent via the bot; for bots only
//@inline_message_id Inline message identifier
//@reply_markup The new message reply markup; pass null if none
//@input_message_content New text content of the message. Must be of type inputMessageText or inputMessageRichMessage; file upload isn't supported
@@ -12229,6 +12229,15 @@ editInlineMessageCaption inline_message_id:string reply_markup:ReplyMarkup capti
//@reply_markup The new message reply markup; pass null if none
editInlineMessageReplyMarkup inline_message_id:string reply_markup:ReplyMarkup = Ok;
+//@description Edits the text, caption or reply markup of an ephemeral message sent by the bot; for bots only
+//@chat_id The chat the message belongs to
+//@receiver_user_id Identifier of the user who received the message
+//@ephemeral_message_id Identifier of the ephemeral message
+//@reply_markup The new message reply markup; pass null if none
+//@input_message_content New content of the message; pass null to edit only reply markup. Must be one of the following types: inputMessageText, inputMessageAnimation,
+//-inputMessageAudio, inputMessageDocument, inputMessagePhoto, inputMessageSticker, inputMessageVideo, inputMessageVideoNote, inputMessageVoiceNote
+editEphemeralMessage chat_id:int53 receiver_user_id:int53 ephemeral_message_id:int32 reply_markup:ReplyMarkup input_message_content:InputMessageContent = Ok;
+
//@description Edits the time when a scheduled message will be sent. Scheduling state of all messages in the same album or forwarded together with the message will be also changed
//@chat_id The chat the message belongs to
//@message_id Identifier of the message. Use messageProperties.can_edit_scheduling_state to check whether the message is suitable