parent
49a467b7c4
commit
1bdfd4d5e6
|
@ -761,7 +761,7 @@ func NewReplyKeyboard(rows ...[]KeyboardButton) ReplyKeyboardMarkup {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// NewOneTimeReplyKeyboard creates a new one time keyboard using NewReplyKeyboard()
|
// NewOneTimeReplyKeyboard creates a new one time keyboard.
|
||||||
func NewOneTimeReplyKeyboard(rows ...[]KeyboardButton) ReplyKeyboardMarkup {
|
func NewOneTimeReplyKeyboard(rows ...[]KeyboardButton) ReplyKeyboardMarkup {
|
||||||
markup := NewReplyKeyboard(rows...)
|
markup := NewReplyKeyboard(rows...)
|
||||||
markup.OneTimeKeyboard = true
|
markup.OneTimeKeyboard = true
|
||||||
|
|
Loading…
Reference in New Issue