Struct actix_telegram::types::Contact [−][src]
pub struct Contact { pub phone_number: String, pub first_name: String, pub last_name: Option<String>, pub user_id: Option<Integer>, pub vcard: Option<String>, }
This object represents a phone contact.
Fields
phone_number: String
Contact's phone number
first_name: String
Contact's first name
last_name: Option<String>
Contact's last name
user_id: Option<Integer>
Contact's user identifier in Telegram
vcard: Option<String>
Additional data about the contact in the form of a vCard