class Telegram::API::InlineKeyboardMarkup

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.cr

Constructors

Instance Method Summary

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

def self.new(inline_keyboard : Array(Array(InlineKeyboardButton)) = Array(Array(InlineKeyboardButton)).new) #

[View source]
def self.new(pull : JSON::PullParser) #

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.


[View source]

Instance Method Detail

def inline_keyboard : Array(Array(InlineKeyboardButton)) #

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


[View source]
def inline_keyboard=(inline_keyboard : Array(Array(InlineKeyboardButton))) #

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


[View source]