class Tourmaline::ReplyKeyboardMarkup
- Tourmaline::ReplyKeyboardMarkup
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
tourmaline/models/reply_keyboard_markup.crConstructors
- .new(pull : JSON::PullParser)
- .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)
Class Method Summary
Instance Method Summary
- #<<(row : Int32, key : KeyboardButton)
- #<<(keys : Array(KeyboardButton))
- #delete_row(row)
- #input_field_placeholder : String | Nil
- #input_field_placeholder=(input_field_placeholder : String | Nil)
- #is_persistent : Bool
- #is_persistent=(is_persistent : Bool)
- #keyboard : Array(Array(KeyboardButton))
- #keyboard=(keyboard : Array(Array(KeyboardButton)))
- #one_time_keyboard : Bool
- #one_time_keyboard=(one_time_keyboard : Bool)
- #resize_keyboard : Bool
- #resize_keyboard=(resize_keyboard : Bool)
- #selective : Bool
- #selective=(selective : Bool)
- #size
- #swap_row(row : Int32, keys : Array(KeyboardButton))
Constructor Detail
def self.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)
#