class Contact
Monday
, August
24
2020
EAT
This object represents a phone contact.¶ ↑
Public Instance Methods
first_name()
click to toggle source
Contact's first name
# File lib/objects/contact.rb, line 19 def first_name @conta.first_name end
last_name()
click to toggle source
Optional
. Contact's last name
# File lib/objects/contact.rb, line 24 def last_name @conta.last_name end
phone_number()
click to toggle source
Contact's phone number.
# File lib/objects/contact.rb, line 14 def phone_number @conta.phone_number end
user_id()
click to toggle source
Optional
. Contact's user identifier in Telegram
# File lib/objects/contact.rb, line 29 def user_id @conta.user_id end
vcard()
click to toggle source
Optional.
Additional data about the contact in the form of a vCard
# File lib/objects/contact.rb, line 34 def vcard @conta.vcard end