variable declaration fix for webhook example
Jqs7 7@jqs7.com
Mon, 14 Sep 2015 13:54:45 +0800
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
README.md
→
README.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) }