edit_message
Modify existing Telegram messages by updating text content with support for HTML or Markdown formatting, using the message ID for precise editing.
Instructions
Edit an existing message
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message_id | Yes | Message ID to edit | |
| parse_mode | No | Parse mode for new text | |
| text | Yes | New message text |
Input Schema (JSON Schema)
{
"properties": {
"message_id": {
"description": "Message ID to edit",
"type": "number"
},
"parse_mode": {
"description": "Parse mode for new text",
"enum": [
"HTML",
"Markdown",
"MarkdownV2"
],
"type": "string"
},
"text": {
"description": "New message text",
"type": "string"
}
},
"required": [
"message_id",
"text"
],
"type": "object"
}