all repos — telegram-bot-api @ ce395c2286e5532256440120e145eb551e558555

Golang bindings for the Telegram Bot API

Update comment on NewOneTimeReplyKeyboard.
Syfaro syfaro@huefox.com
Tue, 21 Jul 2020 03:35:48 -0500
commit

ce395c2286e5532256440120e145eb551e558555

parent

b478ff9669daca239e94cf0659e7c941a5071a6c

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M helpers.gohelpers.go

@@ -704,7 +704,7 @@ Keyboard: keyboard,

} } -// 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