Fix minor capitalization issue.
parent
284b093107
commit
47a0a16eb3
|
@ -675,10 +675,10 @@ func NewInlineKeyboardButtonData(text, data string) InlineKeyboardButton {
|
||||||
|
|
||||||
// NewInlineKeyboardButtonLoginURL creates an inline keyboard button with text
|
// NewInlineKeyboardButtonLoginURL creates an inline keyboard button with text
|
||||||
// which goes to a LoginURL.
|
// which goes to a LoginURL.
|
||||||
func NewInlineKeyboardButtonLoginURL(text string, loginUrl LoginURL) InlineKeyboardButton {
|
func NewInlineKeyboardButtonLoginURL(text string, loginURL LoginURL) InlineKeyboardButton {
|
||||||
return InlineKeyboardButton{
|
return InlineKeyboardButton{
|
||||||
Text: text,
|
Text: text,
|
||||||
LoginURL: &loginUrl,
|
LoginURL: &loginURL,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue