Fix minor capitalization issue.

bot-api-6.1
Syfaro 2021-03-10 22:07:51 -05:00 committed by GitHub
parent 284b093107
commit 47a0a16eb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -675,10 +675,10 @@ func NewInlineKeyboardButtonData(text, data string) InlineKeyboardButton {
// 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,
}
}