1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-14 19:26:55 +01:00
MadelineProto/docs/TD_docs/methods/editMessageText.md
2017-08-25 15:05:53 +02:00

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

Params:

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

Return type: Message