Photo

class pyrogram.types.Photo

A Photo.

Parameters:
  • sizes (List of :obj:`~pyrogram.types.Thumbnail`) – Available variants of the photo, in different sizes.

  • date (:py:obj:`~datetime.datetime`) – Date the photo was sent.

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

  • thumbs (List of :obj:`~pyrogram.types.Thumbnail`, *optional*) – Available thumbnails of this photo.