edit_message
Edit a previously sent Telegram message to fix typos or update content. Specify the chat, message ID, and new text, with optional Markdown or HTML formatting.
Instructions
Отредактировать своё сообщение.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"chat": "<chat>",
"message_id": "<message_id>",
"text": "<text>"
},
"name": "edit_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | ||
| text | Yes | ||
| message_id | Yes | ||
| parse_mode | No | markdown | |
| link_preview | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||