class Tourmaline::ReplyKeyboardMarkup
- Tourmaline::ReplyKeyboardMarkup
- Reference
- Object
Included Modules
- JSON::Serializable
- Tourmaline::Model
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)
- #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))
Instance methods inherited from module Tourmaline::Model
client : Tourmaline::Client
client,
client=(client : Tourmaline::Client)
client=,
client? : Tourmaline::Client | Nil
client?,
finish_init(client : Tourmaline::Client)
finish_init
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)
#