ChatPhoto

class pyrogram.raw.types.ChatPhoto

Group profile photo.

Constructor of ChatPhoto.

Details:
  • Layer: 223

  • ID: 1C6E1C11

Parameters:
  • photo_id (int 64-bit) – Photo ID

  • dc_id (int 32-bit) – DC where this photo is stored

  • has_video (bool, optional) – Whether the user has an animated profile picture

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

Example

ChatPhoto(
    photo_id=0,
    dc_id=0,
)