Skip to main content

userProfilePhoto

User profile photo.

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

Implements UserProfilePhoto.

Fields

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

References