class

Tourmaline::InlineKeyboardMarkup

Inherits JSON::Serializable < Reference < Object

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

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

<<(row, btn : InlineKeyboardButton)
Source
<<(btns : Array(InlineKeyboardButton))
Source
inline_keyboard

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

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

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

Source