InputMediaDocumentExternal#
- class pyrogram.raw.types.InputMediaDocumentExternal#
Document that will be downloaded by the telegram servers
Constructor of
InputMedia.- Details:
Layer:
227ID:
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 be 0 to disable self-destruction, 0x7FFFFFFF to self-destruct the document immediately after it’s played; otherwise self-destructs ttl_seconds after it’s played.video_cover (
InputPhoto, optional) – Custom video cover.video_timestamp (
int32-bit, optional) – Start playing the video at the specified timestamp (seconds).