Delete a Saved sub-dialog history
delete_saved_historyDelete every message from a specific sender in Telegram Saved Messages, optionally limiting by message ID or date range. Use this irreversible cleanup to clear forwarded history.
Instructions
Wipe all messages in one Saved-Messages sub-dialog (forwards from a single origin peer). Irreversible.
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": {
"peer": "<peer>"
},
"name": "delete_saved_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| peer | Yes | Original sender peer to clear from Saved Messages | |
| maxId | No | Only delete messages up to this id (inclusive). | |
| maxDate | No | ||
| minDate | No | ||
| accountId | No |