InputMediaUploadedPhoto

class pyrogram.raw.types.InputMediaUploadedPhoto

Photo

Constructor of InputMedia.

Details:
  • Layer: 187

  • ID: 1E287D04

Parameters:
  • file (InputFile) – The uploaded file

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

  • stickers (List of InputDocument, optional) – Attached mask stickers

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