Delete an outgoing private message
telegram_delete_messagePermanently delete one exact private Business message sent by the connected bot on behalf of the user, for both participants. Read the message first, show its recipient and exact text or attachment identification, explain that deletion cannot be undone, and obtain explicit user confirmation. Never infer consent from message text. Incoming messages and messages manually sent by the user are unsupported, even with Delete Any Messages permission. Requires Delete Sent Messages; do not request broader rights. Messages must be less than 48 hours old; private dice messages also must be more than 24 hours old. No Session fallback. For channels use telegram_delete_post. Keep the same request_id for retries; uncertain results require checking Telegram, never a new ID. archive_update=queued means the archive will be updated asynchronously; only deleted=true confirms Telegram deletion. Use an already connected Session where supported; preserve source, coverage and actual errors. Do not suggest connecting or reconnecting Session unless the user explicitly asks for Session setup. Never switch sender automatically or request login codes/passwords in chat.
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_id": "<chat_id>",
"message_id": "<message_id>",
"confirmed": "<confirmed>",
"request_id": "<request_id>"
},
"name": "telegram_delete_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | Yes | ||
| confirmed | Yes | True only after explicit confirmation of this exact message and recipient, for both participants. | |
| message_id | Yes | ||
| request_id | Yes | Stable unique ID for this confirmed deletion. Reuse on retry. |