MadelineProtoDocs/docs/TD_docs/methods/editMessageText.md

1.1 KiB

title description image
editMessageText Edits text of text or game message. Non-bots can edit message in a limited period of time. Returns edited message after edit is complete server side https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Method: editMessageText

Back to methods index

YOU CANNOT USE THIS METHOD IN MADELINEPROTO

Edits text of text or game message. Non-bots can edit message in a limited period of time. Returns edited message after edit is complete server side

Parameters:

Name Type Description Required
chat_id int53 Chat the message belongs to Yes
message_id int53 Identifier of the message Yes
reply_markup ReplyMarkup Bots only. New message reply markup Yes
input_message_content InputMessageContent New text content of the message. Should be of type InputMessageText Yes

Return type: Message