userProfilePhoto
User profile photo.
type tg.UserProfilePhoto struct { /* ... */ }
Implements UserProfilePhoto.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
HasVideo | bool | — | Whether an animated profile picture is available for this user |
Personal | bool | — | Whether this profile photo is only visible to us (i.e. it was set using photos uploadContactProfilePhoto). |
PhotoID | int64 | yes | Identifier of the respective photo |
StrippedThumb | []byte | — | Stripped thumbnail |
DCID | int | yes | DC ID where the photo is stored |
References
- Official documentation
- Generated Go reference
- TL definition:
userProfilePhoto#82d1f706