InputMediaDocument¶
- class pyrogram.raw.types.InputMediaDocument[source]¶
Forwarded document
Constructor of
InputMedia.- Details:
Layer:
229ID:
A8763AB5
- Parameters:
id (
InputDocument) – The document to be forwarded.spoiler (
bool, optional) – Whether this media should be hidden behind a spoiler warningvideo_cover (
InputPhoto, optional) – Custom video cover.video_timestamp (
int32-bit, optional) – Start playing the video at the specified timestamp (seconds).ttl_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.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.