class TelegramBot::Models::Contact

Overview

https://core.telegram.org/bots/api#contact

Defined in:

telegram_bot/models.cr

Constructors

Instance Method Summary

Constructor methods inherited from class TelegramBot::Models::Base

new(pull : JSON::PullParser) new

Constructor Detail

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

https://core.telegram.org/bots/api#contact


[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 user_id : Int32 | Nil #

[View source]
def user_id=(user_id : Int32 | Nil) #

[View source]
def vcard : String | Nil #

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

[View source]