1
0
telegram/delete_webhook.go

7 lines
252 B
Go
Raw Normal View History

2017-09-04 18:32:57 +00:00
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) {
2017-09-05 08:02:20 +00:00
return bot.request("deleteWebhook", nil)
2017-09-04 18:32:57 +00:00
}