A user that is a contact of the current authorized user.
Constructor schema is available as of layer 18. Switch »
| Name | Type | Description |
|---|---|---|
| id | int | User identifier |
| first_name | string | First name (see below) |
| last_name | string | Last name (see below) |
| access_hash | long | Checksum, dependent on user ID |
| phone | string | Phone number |
| photo | UserProfilePhoto | Profile photo |
| status | UserStatus | Current status |
| username | string | Username |
The first_name and last_name fields are assigned by the server as follows: