InputMediaDocumentExternal#

class pyrogram.raw.types.InputMediaDocumentExternal#

Document that will be downloaded by the telegram servers.

Constructor of InputMedia.

Details:
  • Layer: 158

  • ID: FB52DC99

Parameters:
  • url (str) – URL of the document.

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

  • ttl_seconds (int 32-bit, optional) – Self-destruct time to live of document.