userProfilePhoto

User profile photo.

userProfilePhoto#d559d8c8 photo_id:long photo_small:FileLocation photo_big:FileLocation = UserProfilePhoto;

Parameters

Name Type Description
flags # Flags, see TL conditional fields
has_video flags.0?true Whether an animated profile picture is available for this user
personal flags.2?true Whether this profile photo is only visible to us (i.e. it was set using photos.uploadContactProfilePhoto).
photo_id long Identifier of the respective photo
stripped_thumb flags.1?bytes Stripped thumbnail
dc_id int DC ID where the photo is stored

Type

UserProfilePhoto

Related pages

Uploading and Downloading Files

How to transfer large data batches correctly.

photos.uploadContactProfilePhoto

Upload a custom profile picture for a contact, or suggest a new profile picture to a contact.

The file, video and video_emoji_markup flags are mutually exclusive.