UserProfilePhoto
- class pyrogram.raw.types.UserProfilePhoto
User profile photo.
Constructor of
UserProfilePhoto.- Details:
Layer:
223ID:
82D1F706
- Parameters:
photo_id (
int64-bit) – Identifier of the respective photodc_id (
int32-bit) – DC ID where the photo is storedhas_video (
bool, optional) – Whether an animated profile picture is available for this userpersonal (
bool, optional) – Whether this profile photo is only visible to us (i.e. it was set using photos.uploadContactProfilePhoto).stripped_thumb (
bytes, optional) – Stripped thumbnail
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(
photo_id=0,
dc_id=0,
)