v1

latestOpenAPI 3.0.02026-07-1374103805.5 KB

Use this method to edit text and game messages. On success, if the edited message is not an inline message, the edited Message is returned, otherwise True is returned.

post/editMessageText

Request body

message_idinteger

Required if inline_message_id is not specified. Identifier of the message to edit

inline_message_idstring

Required if chat_id and message_id are not specified. Identifier of the inline message

textstring required

New text of the message, 1-4096 characters after entities parsing

parse_modestring

Mode for parsing entities in the message text. See formatting options for more details.

disable_web_page_previewboolean

Disables link previews for links in this message

Response

okboolean required