userProfilePhoto #

User profile photo.

Layer 223

userProfilePhoto#82d1f706 flags:# has_video:flags.0?true personal:flags.2?true photo_id:long stripped_thumb:flags.1?bytes dc_id:int = UserProfilePhoto;

Parameters #

NameTypeDescription
flags#Flags, see TL conditional fields
has_videoflags.0?trueWhether an animated profile picture is available for this user
personalflags.2?trueWhether this profile photo is only visible to us (i.e. it was set using photos.uploadContactProfilePhoto).
photo_idlongIdentifier of the respective photo
stripped_thumbflags.1?bytesStripped thumbnail
dc_idintDC ID where the photo is stored

Type #

UserProfilePhoto

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.