class Telegram::API::InlineKeyboardMarkup
- Telegram::API::InlineKeyboardMarkup
- Telegram::API::Type
- Reference
- Object
Overview
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.
Defined in:
telegram/api/generated/types.crConstructors
- .new(inline_keyboard : Array(Array(InlineKeyboardButton)) = Array(Array(InlineKeyboardButton)).new)
-
.new(pull : JSON::PullParser)
This object represents an inline keyboard that appears right next to the message it belongs to.
Instance Method Summary
-
#inline_keyboard : Array(Array(InlineKeyboardButton))
Array of button rows, each represented by an Array of InlineKeyboardButton objects
-
#inline_keyboard=(inline_keyboard : Array(Array(InlineKeyboardButton)))
Array of button rows, each represented by an Array of InlineKeyboardButton objects
Instance methods inherited from class Telegram::API::Type
==(other)
==,
client
client
Constructor methods inherited from class Telegram::API::Type
new(pull : JSON::PullParser)
new
Constructor Detail
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.
Instance Method Detail
Array of button rows, each represented by an Array of InlineKeyboardButton objects
Array of button rows, each represented by an Array of InlineKeyboardButton objects