all repos — telegram-bot-api @ 72a0e2d8087dc11548bb29edc2403b1323d881bd

Golang bindings for the Telegram Bot API

closes #246
unstppbl altsab@yandex.com
Wed, 03 Jul 2019 17:59:56 -0700
commit

72a0e2d8087dc11548bb29edc2403b1323d881bd

parent

cea05bfc443c89b43d5fa0ddd28eeb15dfe20639

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

jump to
M bot.gobot.go

@@ -438,7 +438,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.