class Tourmaline::InlineKeyboardMarkup

Included Modules

Defined in:

tourmaline/models/inline/inline_keyboard_markup.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from module Tourmaline::Model

client : Tourmaline::Client client, client=(client : Tourmaline::Client) client=, client? : Tourmaline::Client | Nil client?, finish_init(client : Tourmaline::Client) finish_init

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]