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

Instance Method Summary

Constructor Detail

def self.new(__temp_927 : JSON::PullParser) #

[View source]
def self.new(text : String, request_contact : Bool | Nil = nil, request_location : Bool | Nil = nil) #

[View source]

Instance Method Detail

def request_contact : Bool | Nil #

[View source]
def request_contact=(_request_contact : Bool | Nil) #

[View source]
def request_location : Bool | Nil #

[View source]
def request_location=(_request_location : Bool | Nil) #

[View source]
def text : String #

[View source]
def text=(_text : String) #

[View source]
def to_json(json : JSON::Builder) #

[View source]