func (b *Bot) DeleteWebhook(dropPendingUpdates bool) (result APIResponseBool) {
	b.webhookHost = ""
	b.webhookPort = 0
	b.webhookURL = ""

	b.verbose("deleting webhook url")

	return b.requestResponseBool("deleteWebhook", map[string]interface{}{
		"drop_pending_updates": dropPendingUpdates,
	})
}
// DeleteWebhook deletes webhook for this bot.
// (Function GetUpdates will not work if webhook is set, so in that case you'll need to delete it)
//
// https://core.telegram.org/bots/api#deletewebhook
DeleteWebhook deletes webhook for this bot.
(Function GetUpdates will not work if webhook is set, so in that case you'll need to delete it)

core.telegram.org/bots/api#deletewebhook
// DeleteWebhook deletes webhook for this bot . // ( Function GetUpdates will not work if webhook is set so in that case you ' ll need to delete it ) // // https : // core . telegram . org / bots / api#deletewebhook
func (b *Bot) DeleteWebhook(dropPendingUpdates bool) (result APIResponseBool) {
	b.webhookHost = ""
	b.webhookPort = 0
	b.webhookURL = ""
	b.verbose("deleting webhook url")
	return b.requestResponseBool("deleteWebhook", map[string]interface{}{
		"drop_pending_updates": dropPendingUpdates,
	})
}
func ( b * Bot ) DeleteWebhook ( dropPendingUpdates bool ) ( result APIResponseBool ) { b . webhookHost = " " b . webhookPort = 0 b . webhookURL = " " b . verbose ( " " ) return b . requestResponseBool ( " " , map [ string ] interface { } { " " : dropPendingUpdates , } ) }
DeleteWebhook deletes webhook for this bot.
DeleteWebhook deletes webhook for this bot .