Skip to content

Commit

Permalink
Update comment on NewOneTimeReplyKeyboard.
Browse files Browse the repository at this point in the history
(cherry picked from commit ce395c2)
  • Loading branch information
Syfaro committed Jul 21, 2020
1 parent 49a467b commit 1bdfd4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1bdfd4d

Please sign in to comment.