Interface Contact

This object represents a phone contact.

interface Contact {
    first_name: string;
    last_name?: string;
    phone_number: string;
    user_id?: number;
    vcard?: string;
}

Properties

first_name: string

Contact's first name

last_name?: string

Contact's last name

phone_number: string

Contact's phone number

user_id?: number

Contact's user identifier in Telegram.

vcard?: string

Additional data about the contact in the form of a vCard