class pyrogram.raw.types.InputMediaDocument#

Forwarded document.

Constructor of InputMedia.

  • Layer: 158

  • ID: 33473058

  • 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.