userProfilePhoto

User profile photo.

userProfilePhoto#ecd75d8c photo_id:long photo_small:FileLocation photo_big:FileLocation dc_id:int = 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.