Bot

Delete webhook

Disables webhook delivery while preserving pending updates unless explicitly dropped.

post/bot{token}/deleteWebhook

Path parameters

tokenstring required

Required bot token included in the URL path.

Headers

authorizationstring

Optional bot token using the Bearer scheme. When supplied, it takes precedence over the token in the URL.

Request body

drop_pending_updatesboolean

Response

BotTrueSuccess

oktrue required

Always true for a successful request.

resulttrue required

Method-specific response payload.

Changes