all repos — telegram-bot-api @ 2476225ecc0df3aa8acbc3e577b02f487b92f5cc

Golang bindings for the Telegram Bot API

Merge pull request #346 from Kurets/master

Fixes error parameter name for AnswerPreCheckoutQuery
Syfaro syfaro@huefox.com
Tue, 21 Jul 2020 01:32:48 -0500
commit

2476225ecc0df3aa8acbc3e577b02f487b92f5cc

parent

16a589d2390bd5813a4e5fcab296448c0f7b4934

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

jump to
M bot.gobot.go

@@ -886,7 +886,7 @@

v.Add("pre_checkout_query_id", config.PreCheckoutQueryID) v.Add("ok", strconv.FormatBool(config.OK)) if config.OK != true { - v.Add("error", config.ErrorMessage) + v.Add("error_message", config.ErrorMessage) } bot.debugLog("answerPreCheckoutQuery", v, nil)