{ "meta": {}, "group": { "title": "Updating messages", "anchor": "updating-messages" }, "object": { "anchor": "editmessagetext", "name": "editMessageText", "description": "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.", "html_description": "

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.

", "rst_description": "Use this method to edit text and `game `_ messages. On success, if the edited message is not an inline message, the edited :class:`aiogram.types.message.Message` is returned, otherwise :code:`True` is returned.", "annotations": [ { "type": "Integer or String", "required": false, "description": "Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target channel (in the format @channelusername)", "html_description": "Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target channel (in the format @channelusername)", "rst_description": "Required if *inline_message_id* is not specified. Unique identifier for the target chat or username of the target channel (in the format :code:`@channelusername`)\n", "name": "chat_id" }, { "type": "Integer", "required": false, "description": "Required if inline_message_id is not specified. Identifier of the message to edit", "html_description": "Required if inline_message_id is not specified. Identifier of the message to edit", "rst_description": "Required if *inline_message_id* is not specified. Identifier of the message to edit\n", "name": "message_id" }, { "type": "String", "required": false, "description": "Required if chat_id and message_id are not specified. Identifier of the inline message", "html_description": "Required if chat_id and message_id are not specified. Identifier of the inline message", "rst_description": "Required if *chat_id* and *message_id* are not specified. Identifier of the inline message\n", "name": "inline_message_id" }, { "type": "String", "required": true, "description": "New text of the message, 1-4096 characters after entities parsing", "html_description": "New text of the message, 1-4096 characters after entities parsing", "rst_description": "New text of the message, 1-4096 characters after entities parsing\n", "name": "text" }, { "type": "String", "required": false, "description": "Mode for parsing entities in the message text. See formatting options for more details.", "html_description": "Mode for parsing entities in the message text. See formatting options for more details.", "rst_description": "Mode for parsing entities in the message text. See `formatting options `_ for more details.\n", "name": "parse_mode" }, { "type": "Array of MessageEntity", "required": false, "description": "A JSON-serialized list of special entities that appear in message text, which can be specified instead of parse_mode", "html_description": "A JSON-serialized list of special entities that appear in message text, which can be specified instead of parse_mode", "rst_description": "A JSON-serialized list of special entities that appear in message text, which can be specified instead of *parse_mode*\n", "name": "entities" }, { "type": "Boolean", "required": false, "description": "Disables link previews for links in this message", "html_description": "Disables link previews for links in this message", "rst_description": "Disables link previews for links in this message\n", "name": "disable_web_page_preview" }, { "type": "InlineKeyboardMarkup", "required": false, "description": "A JSON-serialized object for an inline keyboard.", "html_description": "A JSON-serialized object for an inline keyboard.", "rst_description": "A JSON-serialized object for an `inline keyboard `_.\n", "name": "reply_markup" } ], "category": "methods" } }