1
0
telegram/delete_webhook.go
2017-09-04 23:32:57 +05:00

7 lines
248 B
Go

package telegram
// DeleteWebhook remove webhook integration if you decide to switch back to getUpdates. Returns True on success. Requires no parameters.
func (bot *Bot) DeleteWebhook() (*Response, error) {
return bot.get("deleteWebhook", nil)
}