closes #246
This commit is contained in:
parent
cea05bfc44
commit
72a0e2d808
1 changed files with 1 additions and 1 deletions
2
bot.go
2
bot.go
|
@ -438,7 +438,7 @@ func (bot *BotAPI) GetUpdates(config UpdateConfig) ([]Update, error) {
|
||||||
|
|
||||||
// RemoveWebhook unsets the webhook.
|
// RemoveWebhook unsets the webhook.
|
||||||
func (bot *BotAPI) RemoveWebhook() (APIResponse, error) {
|
func (bot *BotAPI) RemoveWebhook() (APIResponse, error) {
|
||||||
return bot.MakeRequest("setWebhook", url.Values{})
|
return bot.MakeRequest("deleteWebhook", url.Values{})
|
||||||
}
|
}
|
||||||
|
|
||||||
// SetWebhook sets a webhook.
|
// SetWebhook sets a webhook.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue