class Tourmaline::ReplyKeyboardMarkup

Included Modules

Defined in:

tourmaline/models/reply_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(keyboard : Array(Array(Tourmaline::KeyboardButton)) = [] of Array(KeyboardButton), resize_keyboard : Bool = false, one_time_keyboard : Bool = false, input_field_placeholder : Nil | String = nil, selective : Bool = false) #

[View source]

Class Method Detail

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

[View source]

Instance Method Detail

def <<(row : Int32, key : KeyboardButton) #

[View source]
def <<(keys : Array(KeyboardButton)) #

[View source]
def delete_row(row) #

[View source]
def input_field_placeholder : String | Nil #

[View source]
def input_field_placeholder=(input_field_placeholder : String | Nil) #

[View source]
def keyboard : Array(Array(KeyboardButton)) #

[View source]
def keyboard=(keyboard : Array(Array(KeyboardButton))) #

[View source]
def one_time_keyboard : Bool #

[View source]
def one_time_keyboard=(one_time_keyboard : Bool) #

[View source]
def resize_keyboard : Bool #

[View source]
def resize_keyboard=(resize_keyboard : Bool) #

[View source]
def selective : Bool #

[View source]
def selective=(selective : Bool) #

[View source]
def size #

[View source]
def swap_row(row : Int32, keys : Array(KeyboardButton)) #

[View source]