class

Tourmaline::ReplyKeyboardMarkup

Inherits Tourmaline::Model < JSON::Serializable < Reference < Object

Constructors

new(keyboard : Array(Array(Tourmaline::KeyboardButton)) = [] of Array(KeyboardButton), resize_keyboard : Bool = false, one_time_keyboard : Bool = false, input_field_placeholder : Nil | String = nil, selective : Bool = false)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Class methods

build(*args, columns = nil, **options, &)
Source

Instance methods

<<(row : Int32, key : KeyboardButton)
Source
<<(keys : Array(KeyboardButton))
Source
delete_row(row)
Source
input_field_placeholder
Source
input_field_placeholder=(input_field_placeholder : String | Nil)
Source
keyboard
Source
keyboard=(keyboard : Array(Array(KeyboardButton)))
Source
one_time_keyboard
Source
one_time_keyboard=(one_time_keyboard : Bool)
Source
resize_keyboard
Source
resize_keyboard=(resize_keyboard : Bool)
Source
selective
Source
selective=(selective : Bool)
Source
size
Source
swap_row(row : Int32, keys : Array(KeyboardButton))
Source

Nested types