Skip to content

Contact

Type · TDLib 1.8.67 · d1085f9c

Describes a contact of a user

Contact(
  phone_number: string,
  first_name: string,
  last_name: string,
  vcard: string,
  user_id: int53
) → Contact

phone_number

string

Phone number of the user

first_name

string

First name of the user; 1-64 characters

last_name

string

Last name of the user; 0-64 characters

vcard

string

Additional data about the user in a form of vCard; 0-2048 bytes in length

user_id

int53

Identifier of the user, if known; 0 otherwise