UserProfilePhoto
- class pyrogram.raw.base.UserProfilePhoto
Object contains info on the user’s profile photo.
- Constructors:
This base type has 2 constructors available.
User profile photo.
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_video →
true (optional)├── personal →
true (optional)├── photo_id →
long├── stripped_thumb →
bytes (optional)└── dc_id →
intExample
UserProfilePhoto(
has_video=None,
personal=None,
photo_id=0,
stripped_thumb=b"data",
dc_id=0,
)