Skip to content

InlineKeyboardMarkup

class Tourmaline::InlineKeyboardMarkup
inherits Reference #

Included modules#

JSON::Serializable Tourmaline::Model

Direct known subclasses#

Tourmaline::PaginatedKeyboard

Class methods#

.build(*args, columns = nil #

.new(pull : JSON::PullParser) #

.new(inline_keyboard = [] of Array(InlineKeyboardButton)) #

.new(*lines : Array(InlineKeyboardButton)) #

Methods#

#<<(row, btn : InlineKeyboardButton) #

#<<(btns : Array(InlineKeyboardButton)) #

#inline_keyboard : Array(Array(InlineKeyboardButton)) #

#inline_keyboard=(inline_keyboard : Array(Array(InlineKeyboardButton))) #