deleteWebhook
Remove the active webhook from Telegram to stop receiving update deliveries, then use getUpdates for polling. Optionally drop pending updates.
Instructions
Remove webhook integration. Use getUpdates to receive updates after this.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "deleteWebhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| drop_pending_updates | No | Pass True to drop all pending updates. |