Skip to main content

userProfilePhoto

User profile photo.

type tg.UserProfilePhoto struct { /* ... */ }

Implements UserProfilePhoto.

Fields​

NameTypeRequiredDescription
HasVideobool—Whether an animated profile picture is available for this user
Personalbool—Whether this profile photo is only visible to us (i.e. it was set using photos uploadContactProfilePhoto).
PhotoIDint64yesIdentifier of the respective photo
StrippedThumb[]byte—Stripped thumbnail
DCIDintyesDC ID where the photo is stored

References​