Skip to content

class Tourmaline::InlineKeyboardMarkup
inherits Reference #

This object represents an inline keyboard that appears right next to the message it belongs to.

Included modules

JSON::Serializable

Constructors#

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

View source

.new(pull : JSON::PullParser) #

View source

Methods#

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

View source

#inline_keyboard : Array(Array(Tourmaline::InlineKeyboardButton)) #

Array of button rows, each represented by an Array of InlineKeyboardButton objects

View source

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

Array of button rows, each represented by an Array of InlineKeyboardButton objects

View source