ChatPhoto

class pyrogram.raw.base.ChatPhoto

Object defines a group profile photo.

Constructors:

This base type has 2 constructors available.

ChatPhoto

Group profile photo.

ChatPhotoEmpty

Group photo is not set.

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_videotrue (optional)
├── photo_idlong
├── stripped_thumbbytes (optional)
└── dc_idint

Example

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