InputMediaDocument

class pyrogram.raw.types.InputMediaDocument

Forwarded document

Constructor of InputMedia.

Details:
  • Layer: 194

  • ID: 33473058

Parameters:
  • id (InputDocument) – The document 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 of self-destructing document

  • query (str, optional) – Text query or emoji that was used by the user to find this sticker or GIF: used to improve search result relevance.