class Tourmaline::RoutedMenu::Page::KeyboardBuilder
- Tourmaline::RoutedMenu::Page::KeyboardBuilder
- Tourmaline::InlineKeyboardMarkup::Builder
- Tourmaline::KeyboardBuilder(Tourmaline::InlineKeyboardButton, Tourmaline::InlineKeyboardMarkup)
- Reference
- Object
Defined in:
tourmaline/extra/routed_menu.crConstructors
Instance Method Summary
Instance methods inherited from class Tourmaline::InlineKeyboardMarkup::Builder
callback_button(text, data)
callback_button,
game_button(text)
game_button,
keyboard(columns = nil) : G
keyboard,
login_button(text, url, *args, **opts)
login_button,
pay_button(text)
pay_button,
switch_to_chat_button(text, value)
switch_to_chat_button,
switch_to_current_chat_button(text, value)
switch_to_current_chat_button,
url_button(text, url)
url_button,
web_app_button(app : String | WebAppInfo)
web_app_button
Constructor methods inherited from class Tourmaline::InlineKeyboardMarkup::Builder
new(force_reply = false, remove_keyboard = false, selective = false, keyboard = [] of T, resize = false, one_time = false, input_field_placeholder = nil)
new
Instance methods inherited from class Tourmaline::KeyboardBuilder(Tourmaline::InlineKeyboardButton, Tourmaline::InlineKeyboardMarkup)
button(*args, **options)
button,
force_reply(value : Bool)force_reply : Bool force_reply, force_reply=(force_reply : Bool) force_reply=, input_field_placeholder(value : Nil | String)
input_field_placeholder : String | Nil input_field_placeholder, input_field_placeholder=(input_field_placeholder : String | Nil) input_field_placeholder=, keyboard(columns = nil) : G keyboard, one_time(value : Bool)
one_time : Bool one_time, one_time=(one_time : Bool) one_time=, remove_keyboard(value : Bool)
remove_keyboard : Bool remove_keyboard, remove_keyboard=(remove_keyboard : Bool) remove_keyboard=, resize(value : Bool)
resize : Bool resize, resize=(resize : Bool) resize=, selective(value : Bool)
selective : Bool selective, selective=(selective : Bool) selective=
Constructor methods inherited from class Tourmaline::KeyboardBuilder(Tourmaline::InlineKeyboardButton, Tourmaline::InlineKeyboardMarkup)
new(force_reply : Bool = false, remove_keyboard : Bool = false, selective : Bool = false, keyboard : Array(T) = [] of T, resize : Bool = false, one_time : Bool = false, input_field_placeholder : Nil | String = nil)
new
Class methods inherited from class Tourmaline::KeyboardBuilder(Tourmaline::InlineKeyboardButton, Tourmaline::InlineKeyboardMarkup)
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, input_field_placeholder = nil)
#