Update comment on NewOneTimeReplyKeyboard.

(cherry picked from commit ce395c2286)
bot-api-6.1
Syfaro 2020-07-21 03:35:48 -05:00
parent 49a467b7c4
commit 1bdfd4d5e6
1 changed files with 1 additions and 1 deletions

View File

@ -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 {
markup := NewReplyKeyboard(rows...)
markup.OneTimeKeyboard = true