class TelegramBot::Models::ReplyKeyboardMarkup
Overview
https://core.telegram.org/bots/api#replykeyboardmarkup
Defined in:
telegram_bot/models.crConstructors
- .new(keyboard : Array(Array(KeyboardButton)), resize_keyboard : Bool | Nil = nil, one_time_keyboard : Bool | Nil = nil, selective : Bool | Nil = nil)
-
.new(pull : JSON::PullParser)
https://core.telegram.org/bots/api#replykeyboardmarkup
Instance Method Summary
- #keyboard : Array(Array(KeyboardButton))
- #keyboard=(keyboard : Array(Array(KeyboardButton)))
- #one_time_keyboard : Bool | Nil
- #one_time_keyboard=(one_time_keyboard : Bool | Nil)
- #resize_keyboard : Bool | Nil
- #resize_keyboard=(resize_keyboard : Bool | Nil)
- #selective : Bool | Nil
- #selective=(selective : Bool | Nil)
Constructor methods inherited from class TelegramBot::Models::Base
new(pull : JSON::PullParser)
new
Constructor Detail
def self.new(keyboard : Array(Array(KeyboardButton)), resize_keyboard : Bool | Nil = nil, one_time_keyboard : Bool | Nil = nil, selective : Bool | Nil = nil)
#