User profile photo.
userProfilePhoto#cc656077 flags:# has_video:flags.0?true photo_id:long photo_small:FileLocation photo_big:FileLocation stripped_thumb:flags.1?bytes dc_id:int = UserProfilePhoto;
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 |
How to transfer large data batches correctly.
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.