deleteWebhook
Remove the bot's webhook integration to switch back to polling with getUpdates; optionally drop pending updates to start clean.
Instructions
Use this method to remove webhook integration if you decide to switch back to getUpdates. Returns True on success.
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 |