TDLib v0.0.2 TDLib.Method.EditMessageText View Source

Edits the text of a message (or a text of a game message). Non-bot users can edit messages for a limited period of time. Returns the edited message after the edit is completed on the server side. Returns object_ptr.

NameTypeDescription
chat_idstringThe chat the message belongs to.
message_idstringIdentifier of the message.
reply_markupReplyMarkupThe new message reply markup; for bots only.
input_message_contentInputMessageContentNew text content of the message. Should be of type InputMessageText.

More details on telegram’s documentation.