Link Search Menu Expand Document

Constructor: userProfilePhoto

Back to constructors index

User profile photo.

Attributes:

NameTypeRequiredDescription
has_videoBoolOptionalWhether an animated profile picture is available for this user
personalBoolOptionalWhether this profile photo is only visible to us (i.e. it was set using photos.uploadContactProfilePhoto).
photo_idlongYesIdentifier of the respective photo
stripped_thumbbytesOptionalStripped thumbnail
dc_idintYesDC ID where the photo is stored

Type: UserProfilePhoto

Example:

$userProfilePhoto = ['_' => 'userProfilePhoto', 'has_video' => Bool, 'personal' => Bool, 'photo_id' => long, 'stripped_thumb' => 'bytes', 'dc_id' => int];