all repos — telegram-bot-api @ 47a0a16eb32eb8a57ab89c80a8a35b14e24bd13c

Golang bindings for the Telegram Bot API

Fix minor capitalization issue.
Syfaro syfaro@huefox.com
Wed, 10 Mar 2021 22:07:51 -0500
commit

47a0a16eb32eb8a57ab89c80a8a35b14e24bd13c

parent

284b0931078ca03ba54d46bb07ec17624c52f1f8

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

jump to
M helpers.gohelpers.go

@@ -675,10 +675,10 @@ }

// NewInlineKeyboardButtonLoginURL creates an inline keyboard button with text // which goes to a LoginURL. -func NewInlineKeyboardButtonLoginURL(text string, loginUrl LoginURL) InlineKeyboardButton { +func NewInlineKeyboardButtonLoginURL(text string, loginURL LoginURL) InlineKeyboardButton { return InlineKeyboardButton{ Text: text, - LoginURL: &loginUrl, + LoginURL: &loginURL, } }