all repos — telegram-bot-api @ e55e8bc55aa771d1a0bcc4d05a5f135020ceba10

Golang bindings for the Telegram Bot API

Fixes error parameter name for AnswerPreCheckoutQuery
Dmytro Kurest dimakurets@gmail.com
Sun, 28 Jun 2020 22:13:32 +0300
commit

e55e8bc55aa771d1a0bcc4d05a5f135020ceba10

parent

7434b0456e81b6448b591f4fdf8efd7d1a734ae8

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

jump to
M bot.gobot.go

@@ -881,7 +881,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)