InputMediaDocument#
- class pyrogram.raw.types.InputMediaDocument#
Forwarded document
Constructor of
InputMedia.- Details:
Layer:
227ID:
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 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.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.