class

TelegramBot::ReplyKeyboardMarkup

Inherits JSON::Serializable < Reference < Object

Constructors

new(keyboard : Array(Array(KeyboardButton)), *, resize_keyboard : Bool | Nil = nil, one_time_keyboard : Bool | Nil = nil, selective : Bool | Nil = nil)
Source
new(keyboard : Array(Array(String)), *, resize_keyboard : Bool | Nil = nil, one_time_keyboard : Bool | Nil = nil, selective : Bool | Nil = nil)

Alternative constructor that allows to build markup object with text-only buttons

Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

keyboard
Source
keyboard=(keyboard : Array(Array(KeyboardButton)))
Source
one_time_keyboard=(one_time_keyboard : Bool | Nil)
Source
one_time_keyboard?
Source
resize_keyboard=(resize_keyboard : Bool | Nil)
Source
resize_keyboard?
Source
selective=(selective : Bool | Nil)
Source
selective?
Source