class Tourmaline::ReplyKeyboardMarkup::Builder

Defined in:

Constructors

Instance Method Summary

Instance methods inherited from class Tourmaline::KeyboardBuilder(Tourmaline::KeyboardButton, Tourmaline::ReplyKeyboardMarkup)

button(*args, **options) button, force_reply(value)
force_reply : Bool
force_reply
, force_reply=(force_reply : Bool) force_reply=, keyboard(columns = nil) : G keyboard, one_time(value)
one_time : Bool
one_time
, one_time=(one_time : Bool) one_time=, remove_keyboard(value)
remove_keyboard : Bool
remove_keyboard
, remove_keyboard=(remove_keyboard : Bool) remove_keyboard=, resize(value)
resize : Bool
resize
, resize=(resize : Bool) resize=, selective(value)
selective : Bool
selective
, selective=(selective : Bool) selective=

Constructor methods inherited from class Tourmaline::KeyboardBuilder(Tourmaline::KeyboardButton, Tourmaline::ReplyKeyboardMarkup)

new(force_reply = false, remove_keyboard = false, selective = false, keyboard = [] of T, resize = false, one_time = false) new

Class methods inherited from class Tourmaline::KeyboardBuilder(Tourmaline::KeyboardButton, Tourmaline::ReplyKeyboardMarkup)

build_keyboard(buttons : Array(T), columns = 1, wrap = nil) build_keyboard, buttons(buttons, **options) buttons, force_reply(value : Bool) force_reply, inline_buttons(buttons, **options) inline_buttons, one_time(value : Bool) one_time, remove_keyboard(value : Bool) remove_keyboard, resize(value : Bool) resize, selective(value : Bool) selective

Constructor Detail

def self.new(force_reply = false, remove_keyboard = false, selective = false, keyboard = [] of T, resize = false, one_time = false) #

Instance Method Detail

def contact_request_button(text) #

def keyboard(columns = nil) #

def location_request_button(text) #

def poll_request_button(text, type : Poll::Type) #

def text_button(text) #