From 99bd28b4af1b9a60fe80a87e0e4535644ba14638 Mon Sep 17 00:00:00 2001 From: Vincent Heins Date: Mon, 2 Jul 2018 08:59:51 +0200 Subject: [PATCH] Update bot.go --- bot.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.go b/bot.go index 8402d7f..c0c1d55 100644 --- a/bot.go +++ b/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{}) }