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
Constructor Detail
def self.new(text : String, request_contact : Bool | Nil = nil, request_location : Bool | Nil = nil)
#