1
0
telegram/delete_webhook.go
Maxim Lebedev 878d245759
🐛 Fixed requests
2017-09-05 14:20:10 +05:00

7 lines
257 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.request(nil, "deleteWebhook", nil)
}