1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 02:56:57 +01:00
MadelineProto/docs/TD_docs/methods/editMessageText.md

1.0 KiB

title description
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

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 Required Description
chat_id CLICK ME int53 Yes Chat the message belongs to
message_id CLICK ME int53 Yes Identifier of the message
reply_markup CLICK ME ReplyMarkup Yes Bots only. New message reply markup
input_message_content CLICK ME InputMessageContent Yes New text content of the message. Should be of type InputMessageText

Return type: Message