Merge pull request #24 from jqs7/master variable declaration fix for webhook example
Syfaro syfaro@foxpaw.in
Mon, 14 Sep 2015 07:42:19 -0500
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) }