all repos — telegram-bot-api @ 1bdfd4d5e666254d5aed00a2475b4c052f1eff34

Golang bindings for the Telegram Bot API

Update comment on NewOneTimeReplyKeyboard.

(cherry picked from commit ce395c2286e5532256440120e145eb551e558555)
Syfaro syfaro@huefox.com
Tue, 21 Jul 2020 03:35:48 -0500
commit

1bdfd4d5e666254d5aed00a2475b4c052f1eff34

parent

49a467b7c416fd06d6de7f67549ac42d5339e78b

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

jump to
M helpers.gohelpers.go

@@ -761,7 +761,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