all repos — telegram-bot-api @ 2d75cf8a3fbc0991923b9afb4821a3a804c8f583

Golang bindings for the Telegram Bot API

Merge pull request #247 from unstppbl/pr/deleteWebhook

closes #246
Kirill Zhuharev zhuharev@users.noreply.github.com
Thu, 19 Mar 2020 07:13:15 +0300
commit

2d75cf8a3fbc0991923b9afb4821a3a804c8f583

parent

8a6eeebcb171915f7cd412023f567aa2e6a6cd45

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M bot.gobot.go

@@ -446,7 +446,7 @@ }

// RemoveWebhook unsets the webhook. func (bot *BotAPI) RemoveWebhook() (APIResponse, error) { - return bot.MakeRequest("setWebhook", url.Values{}) + return bot.MakeRequest("deleteWebhook", url.Values{}) } // SetWebhook sets a webhook.