all repos — telegram-bot-api @ 45c6054aa7a0f0c4d0ad14f38e39756080bc32de

Golang bindings for the Telegram Bot API

Readme updated
Gleb Sinyavsky zhulik.gleb@gmail.com
Sat, 21 Nov 2015 14:50:11 +0300
commit

45c6054aa7a0f0c4d0ad14f38e39756080bc32de

parent

c4515aa388616a8605506b814ffe5a62e4eae46e

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

jump to
M README.mdREADME.md

@@ -45,7 +45,7 @@

msg := tgbotapi.NewMessage(update.Message.Chat.ID, update.Message.Text) msg.ReplyToMessageID = update.Message.MessageID - bot.SendMessage(msg) + bot.Send(msg) } } ```

@@ -87,4 +87,4 @@ ```

If you need, you may generate a self signed certficate, as this requires HTTPS / TLS. The above example tells Telegram that this is your certificate and that it should be trusted, even though it is not properly signed. - openssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -days 3560 -subj -nodes + openssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -days 3560 -subj "//O=Org\CN=Test" -nodes