Photo#

class pyrogram.types.Photo#

A Photo.

Parameters:
  • sizes (List of Thumbnail) – Available variants of the photo, in different sizes.

  • date (datetime) – Date the photo was sent.

  • ttl_seconds (int, optional) – Time-to-live seconds, for secret photos.

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