class TelegramBot::InputContactMessageContent

Defined in:

telegram_bot/types/input_contact_message_content.cr

Constant Summary

FIELDS = {phone_number: String, first_name: String, last_name: {type: String, nilable: true}}

Constructors

Instance Method Summary

Constructor Detail

def self.new(phone_number : String, first_name : String, last_name : String | Nil = nil) #

[View source]
def self.new(__temp_694 : JSON::PullParser) #

[View source]

Instance Method Detail

def first_name : String #

[View source]
def first_name=(_first_name : String) #

[View source]
def last_name : String | Nil #

[View source]
def last_name=(_last_name : String | Nil) #

[View source]
def phone_number : String #

[View source]
def phone_number=(_phone_number : String) #

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

[View source]