Photo#

class pyrogram.raw.types.Photo#

Photo.

Constructor of Photo.

Details:
  • Layer: 158

  • ID: FB197A65

Parameters:
  • id (int 64-bit) –

    ID.

  • access_hash (int 64-bit) – Access hash.

  • file_reference (bytes) – file reference.

  • date (int 32-bit) – Date of upload.

  • sizes (List of PhotoSize) – Available sizes for download.

  • dc_id (int 32-bit) – DC ID to use for download.

  • has_stickers (bool, optional) – Whether the photo has mask stickers attached to it.

  • video_sizes (List of VideoSize, optional) – For animated profiles, the MPEG4 videos.