class TelegramBot::KeyboardButton
- TelegramBot::KeyboardButton
- Reference
- Object
Defined in:
telegram_bot/types/reply_keyboard_markup.crConstant Summary
-
FIELDS =
{text: {type: String, nilable: false}, request_contact: {type: Bool, nilable: true}, request_location: {type: Bool, nilable: true}}
Constructors
- .new(__temp_927 : JSON::PullParser)
- .new(text : String, request_contact : Bool | Nil = nil, request_location : Bool | Nil = nil)
Instance Method Summary
- #request_contact : Bool | Nil
- #request_contact=(_request_contact : Bool | Nil)
- #request_location : Bool | Nil
- #request_location=(_request_location : Bool | Nil)
- #text : String
- #text=(_text : String)
- #to_json(json : JSON::Builder)
Constructor Detail
def self.new(text : String, request_contact : Bool | Nil = nil, request_location : Bool | Nil = nil)
#