edit_message
Edit a Telegram message by its ID in a given chat, replacing the existing text with new content. Specify chat, message ID, and text to apply changes.
Instructions
Изменить своё сообщение по id.
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 | md | |
| link_preview | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||