all repos — telegram-bot-api @ 7c48fa5dbbe7d71b44fb3d6ddf0687c90bc672de

Golang bindings for the Telegram Bot API

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
commit

7c48fa5dbbe7d71b44fb3d6ddf0687c90bc672de

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) }