class Tourmaline::InlineKeyboardMarkup

Included Modules

Defined in:

tourmaline/models/inline/inline_keyboard_markup.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(inline_keyboard : Array(Array(Tourmaline::InlineKeyboardButton)) = [] of Array(InlineKeyboardButton)) #

[View source]
def self.new(*lines : Array(InlineKeyboardButton)) #

[View source]

Class Method Detail

def self.build(*args, columns = nil, **options, &) #

[View source]

Instance Method Detail

def <<(row, btn : InlineKeyboardButton) #

[View source]
def <<(btns : Array(InlineKeyboardButton)) #

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

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

[View source]