1
0
Fork 0

Added deleteWebhook method

This commit is contained in:
Maxim Lebedev 2017-09-04 23:32:57 +05:00
parent 32d7ca9873
commit 4e2523f4bc
No known key found for this signature in database
GPG Key ID: F8978F46FF0FFA4F
1 changed files with 6 additions and 0 deletions

6
delete_webhook.go Normal file
View File

@ -0,0 +1,6 @@
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)
}