InputMediaUploadedPhoto#

class pyrogram.raw.types.InputMediaUploadedPhoto#

Photo

Constructor of InputMedia.

Details:
  • Layer: 225

  • ID: 7D8375DA

Parameters:
  • file (InputFile) – The uploaded file

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

  • live_photo (bool, optional)

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

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

  • video (InputDocument, optional)