InputMediaDocumentExternal#

class pyrogram.raw.types.InputMediaDocumentExternal#

Document that will be downloaded by the telegram servers

Constructor of InputMedia.

Details:
  • Layer: 198

  • ID: 779600F9

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

  • video_cover (InputPhoto, optional) – N/A

  • video_timestamp (int 32-bit, optional) – N/A