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, selective : Bool = false)
Instance Method Summary
- #<<(row : Int32, key : KeyboardButton)
- #<<(keys : Array(KeyboardButton))
- #delete_row(row)
- #keyboard : Array(Array(KeyboardButton))
- #one_time_keyboard : Bool
- #resize_keyboard : Bool
- #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, selective : Bool = false)
#