UserProfilePhoto

class pyrogram.raw.base.UserProfilePhoto

Object contains info on the user’s profile photo.

Constructors:

This base type has 2 constructors available.

UserProfilePhoto

User profile photo.

UserProfilePhotoEmpty

Profile photo has not been set, or was hidden.

TL Schema

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

= UserProfilePhoto

Parameter Tree

UserProfilePhoto
├── has_videotrue (optional)
├── personaltrue (optional)
├── photo_idlong
├── stripped_thumbbytes (optional)
└── dc_idint

Example

UserProfilePhoto(
    has_video=None,
    personal=None,
    photo_id=0,
    stripped_thumb=b"data",
    dc_id=0,
)