class
TD::ReplyMarkup::ShowKeyboard
- TD::ReplyMarkup::ShowKeyboard
- TD::ReplyMarkup
- TD::Base
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
telegram/types/reply_markup/show_keyboard.crConstructors
- .new(rows : Array(Array(TD::KeyboardButton)), input_field_placeholder : String, resize_keyboard : Bool = false, one_time : Bool = false, is_personal : Bool = false)
- .new(pull : JSON::PullParser)
- .new(__json : JSON::Any | Nil = nil)
Instance Method Summary
- #input_field_placeholder : String
- #input_field_placeholder=(input_field_placeholder : String)
- #is_personal : Bool
- #is_personal=(is_personal : Bool)
- #object_type : String
- #object_type=(object_type : String)
- #one_time : Bool
- #one_time=(one_time : Bool)
- #resize_keyboard : Bool
- #resize_keyboard=(resize_keyboard : Bool)
- #rows : Array(Array(TD::KeyboardButton))
- #rows=(rows : Array(Array(TD::KeyboardButton)))
Instance methods inherited from class TD::Base
extract_abstract_type(__json : JSON::Any)
extract_abstract_type,
extract_type(__json : JSON::Any, class_type : Class)
extract_type
Macros inherited from class TD::Base
object_attributes(type)
object_attributes,
object_type(type)
object_type
Constructor Detail
def self.new(rows : Array(Array(TD::KeyboardButton)), input_field_placeholder : String, resize_keyboard : Bool = false, one_time : Bool = false, is_personal : Bool = false)
#