class TelegramBot::KeyboardButton

Defined in:

telegram_bot/types/reply_keyboard_markup.cr

Constant 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) #

[View source]