InputMediaDocumentExternal¶
- class pyrogram.raw.types.InputMediaDocumentExternal[source]¶
Document that will be downloaded by the telegram servers
Constructor of
InputMedia.- Details:
Layer:
229ID:
779600F9
- Parameters:
url (
str) – URL of the documentspoiler (
bool, optional) – Whether this media should be hidden behind a spoiler warningttl_seconds (
int32-bit, optional) – Time to live of self-destructing document, can be0to disable self-destruction,0x7FFFFFFFto self-destruct the document immediately after it’s played; otherwise self-destructsttl_secondsafter it’s played.video_cover (
InputPhoto, optional) – Custom video cover.video_timestamp (
int32-bit, optional) – Start playing the video at the specified timestamp (seconds).