SafeW|API文档
  • 🤖Bot API
    • Introduction
    • getMe
    • getUpdates
    • sendMessage
    • sendPhoto
    • sendVideo
    • sendDocument
    • forwardMessage
    • editMessageText
    • deleteMessage
    • getChat
    • leaveChat
    • getChatMemberCount
    • banChatMember
    • sendVoice
    • sendMediaGroup
    • sendAudio
  • setWebhook
  • deleteWebhook
  • getWebhookInfo
  • deleteMessages
  • editMessageReplyMarkup
  • copyMessage
  • promoteChatMember
  • setChatPermissions
  • restrictChatMember
  • setMyDefaultAdministratorRights
  • setChatAdministratorCustomTitle
  • getChatMember
  • setChatTitle
  • getChatAdministrators
  • getMyCommands
  • setMyCommands
  • createChatInviteLink
  • editChatInviteLink
  • revokeChatInviteLink
  • approveChatJoinRequest
  • declineChatJoinRequest
  • answerCallbackQuery
Powered by GitBook
On this page

deleteWebhook

Use this method to remove webhook integration if you decide to switch back to getUpdates. Returns True on success.

Parameter
Type
Required
Description

drop_pending_updates

Boolean

Optional

Pass True to drop all pending updates

PrevioussetWebhookNextgetWebhookInfo