InputMediaUploadedDocument#
- class pyrogram.raw.types.InputMediaUploadedDocument#
New document.
Constructor of
InputMedia
.- Details:
Layer:
158
ID:
5B38C6C1
- Parameters:
file (
InputFile
) – The uploaded file.mime_type (
str
) – MIME type of document.attributes (List of
DocumentAttribute
) – Attributes that specify the type of the document (video, audio, voice, sticker, etc.).nosound_video (
bool
, optional) – Whether the specified document is a video file with no audio tracks (a GIF animation (even as MPEG4), for example).force_file (
bool
, optional) – Force the media file to be uploaded as document.spoiler (
bool
, optional) – Whether this media should be hidden behind a spoiler warning.thumb (
InputFile
, optional) – Thumbnail of the document, uploaded as for the file.stickers (List of
InputDocument
, optional) – Attached stickers.ttl_seconds (
int
32-bit
, optional) – Time to live in seconds of self-destructing document.