class

Tourmaline::InlineKeyboardMarkup

Inherits JSON::Serializable / Reference / Object

This object represents an inline keyboard that appears right next to the message it belongs to. Note: This will only work in Telegram versions released after 9 April, 2016. Older clients will display unsupported message.

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