Skip to content

deleteWebhook

删除已设置的 Webhook。

请求

POST /:token/deletewebhook

参数

参数类型必填描述
drop_pending_updatesBoolean是否丢弃待处理的更新

响应

成功时返回 Boolean 值 true

json
{
  "ok": true,
  "result": true
}

错误码

错误码描述
400请求参数错误
401Token 无效
403无权限执行此操作