ChatPhoto
- class pyrogram.raw.types.ChatPhoto
Group profile photo.
Constructor of
ChatPhoto.- Details:
Layer:
223ID:
1C6E1C11
- Parameters:
photo_id (
int64-bit) – Photo IDdc_id (
int32-bit) – DC where this photo is storedhas_video (
bool, optional) – Whether the user has an animated profile picturestripped_thumb (
bytes, optional) – Stripped thumbnail
TL Schema
chatPhoto#1c6e1c11
flags:#
has_video:flags.0?true
photo_id:long
stripped_thumb:flags.1?bytes
dc_id:int
= ChatPhoto
Parameter Tree
ChatPhoto
├── has_video →
true (optional)├── photo_id →
long├── stripped_thumb →
bytes (optional)└── dc_id →
intExample
ChatPhoto(
photo_id=0,
dc_id=0,
)