struct

Telegram::ReplyKeyboardMarkup

Inherits JSON::Serializable < Struct < Value < Object

Telegram API type: ReplyKeyboardMarkup This object represents a custom keyboard with reply options (see Introduction to bots for details and examples). Not supported in channels and for messages sent on behalf of a Telegram Business account.

Constructors

new(keyboard : Array(Array(KeyboardButton)), is_persistent : Bool | Nil = nil, resize_keyboard : Bool | Nil = nil, one_time_keyboard : Bool | Nil = nil, input_field_placeholder : String | Nil = nil, selective : Bool | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

clone
Source
copy_with(keyboard _keyboard = @keyboard, is_persistent _is_persistent = @is_persistent, resize_keyboard _resize_keyboard = @resize_keyboard, one_time_keyboard _one_time_keyboard = @one_time_keyboard, input_field_placeholder _input_field_placeholder = @input_field_placeholder, selective _selective = @selective)
Source
input_field_placeholder
is_persistent
keyboard
one_time_keyboard
resize_keyboard
selective