Delete webhook
Deletes the bot event handler URL for webhook operation
Function DeleteWebhook(Val Token) Export
Parameter | CLI option | Type | Required | Description |
---|---|---|---|---|
Token | --token | String | ✔ | Bot token |
Returns: Map Of KeyAndValue - serialized JSON response from Telegram
tip
Method at API documentation: deleteWebhook
1C:Enterprise/OneScript code example
Token = "6129457865:AAFyzNYOAFbu...";
Result = OPI_Telegram.DeleteWebhook(Token);
- Bash
- CMD/Bat
oint telegram DeleteWebhook \
--token "***"
oint telegram DeleteWebhook ^
--token "***"
Result
{
"ok": true,
"result": true,
"description": "Webhook was deleted"
}