class Tourmaline::InlineKeyboardMarkup
- Tourmaline::InlineKeyboardMarkup
- Reference
- Object
Included Modules
- JSON::Serializable
- Tourmaline::Model
Defined in:
tourmaline/models/inline/inline_keyboard_markup.crConstructors
- .new(pull : JSON::PullParser)
- .new(inline_keyboard : Array(Array(Tourmaline::InlineKeyboardButton)) = [] of Array(InlineKeyboardButton))
- .new(*lines : Array(InlineKeyboardButton))
Class Method Summary
Instance Method Summary
- #<<(row, btn : InlineKeyboardButton)
- #<<(btns : Array(InlineKeyboardButton))
- #inline_keyboard : Array(Array(InlineKeyboardButton))
- #inline_keyboard=(inline_keyboard : Array(Array(InlineKeyboardButton)))
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(inline_keyboard : Array(Array(Tourmaline::InlineKeyboardButton)) = [] of Array(InlineKeyboardButton))
#