1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 02:26:55 +01:00
MadelineProto/docs/TD_docs/methods/editMessageText.md
2017-08-25 14:43:29 +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 long 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