delete_dialog
Delete a personal Telegram dialog or leave any chat/channel. Optionally revoke messages for the other user in private chats.
Instructions
Покинуть чат/канал или удалить личный диалог.
Args: revoke: True — удалить переписку и у собеседника (только PM).
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>"
},
"name": "delete_dialog"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | ||
| revoke | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||