Telegram::InputContactMessageContent
Inherits JSON::Serializable < Struct < Value < Object
Telegram API type: InputContactMessageContent Represents the content of a contact message to be sent as the result of an inline query.
Constructors
new(phone_number : String, first_name : String, last_name : String | Nil = nil, vcard : String | Nil = nil)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
clone
Sourcecopy_with(phone_number _phone_number = @phone_number, first_name _first_name = @first_name, last_name _last_name = @last_name, vcard _vcard = @vcard)
Sourcefirst_name
last_name
phone_number
vcard