Edit Text of Sent Telegram Message
edit_messageReplace the text of a message you previously sent in any Telegram chat by specifying the chat, message ID, and new text. Correct typos or update content without resending.
Instructions
Edit the text content of an existing message previously sent by this account. Mutation operation requiring TELEGRAM_SEND_ENABLED=true. Cannot edit messages sent by other users.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Optional account label for multi-account environments. If omitted in single-mode, the default account is used. In multi-mode without an account, read-only tools fan out across all configured accounts. | |
| chat_id | Yes | Target Telegram chat, group, supergroup, channel, or user identifier. Accepts numeric chat ID (e.g. -1001234567890 or 123456789), username (e.g. '@channel'), or phone number. | |
| new_text | Yes | New replacement text content when editing an existing sent message. | |
| message_id | Yes | Unique integer ID of the target message within the specified chat. | |
| parse_mode | No | Text formatting parser: 'markdown' (default), 'html', or 'none'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |