InputMediaPhoto#

class pyrogram.raw.types.InputMediaPhoto#

Forwarded photo.

Constructor of InputMedia.

Details:
  • Layer: 158

  • ID: B3BA0635

Parameters:
  • id (InputPhoto) – Photo to be forwarded.

  • spoiler (bool, optional) – Whether this media should be hidden behind a spoiler warning.

  • ttl_seconds (int 32-bit, optional) – Time to live in seconds of self-destructing photo.