Photo

class pyrogram.Photo

A Photo.

Parameters
  • file_id (str) – Unique identifier for this photo.

  • file_ref (str) – Up to date file reference.

  • width (int) – Photo width.

  • height (int) – Photo height.

  • file_size (int) – File size.

  • date (int) – Date the photo was sent in Unix time.

  • thumbs (List of Thumbnail, optional) – Available thumbnails of this photo.