all repos — telegram-bot-api @ c72afc396b289a53a6afbc5d6e8c49cbfa2dffe0

Golang bindings for the Telegram Bot API

variable declaration fix for webhook example
Jqs7 7@jqs7.com
Mon, 14 Sep 2015 13:54:45 +0800
commit

c72afc396b289a53a6afbc5d6e8c49cbfa2dffe0

parent

236ac39b3448e02c9181a878928b592f53fe7191

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

jump to
M README.mdREADME.md

@@ -71,7 +71,7 @@ bot.Debug = true

log.Printf("Authorized on account %s", bot.Self.UserName) - _, err := bot.SetWebhook(tgbotapi.NewWebhookWithCert("https://www.google.com:8443/"+bot.Token, "cert.pem")) + _, err = bot.SetWebhook(tgbotapi.NewWebhookWithCert("https://www.google.com:8443/"+bot.Token, "cert.pem")) if err != nil { log.Fatal(err) }