Update bot.go

pull/184/head
Vincent Heins 7 years ago committed by GitHub
parent 94f3da603f
commit 99bd28b4af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      bot.go

@ -427,7 +427,7 @@ func (bot *BotAPI) GetUpdates(config UpdateConfig) ([]Update, error) {
return updates, nil
}
// Remove unsets the webhook.
// RemoveWebhook unsets the webhook.
func (bot *BotAPI) RemoveWebhook() (APIResponse, error) {
return bot.MakeRequest("setWebhook", url.Values{})
}