Delete ad
delete_adRemove a Telegram ad permanently by first requesting a confirmation hash, then confirming with the hash and gate flag after user approval.
Instructions
Delete an ad (destructive). Two steps: call without confirm_hash, show the user, then call with the returned hash. confirm=true is the gate flag, not the hash. To pause use edit_ad.
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": {
"ad_id": "<ad_id>"
},
"name": "delete_ad"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ad_id | Yes | ||
| confirm | No | ||
| confirm_hash | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||