InputMediaUploadedDocument#
- class pyrogram.raw.types.InputMediaUploadedDocument#
New document
Constructor of
InputMedia.- Details:
Layer:
214ID:
37C9330
- Parameters:
file (
InputFile) – The uploaded filemime_type (
str) – MIME type of documentattributes (List of
DocumentAttribute) – Attributes that specify the type of the document (video, audio, voice, sticker, etc.)nosound_video (
bool, optional) – Whether to send the file as a video even if it doesn’t have an audio track (i.e. if set, the documentAttributeAnimated attribute will not be set even for videos without audio)force_file (
bool, optional) – Force the media file to be uploaded as documentspoiler (
bool, optional) – Whether this media should be hidden behind a spoiler warningthumb (
InputFile, optional) – Thumbnail of the document, uploaded as for the filestickers (List of
InputDocument, optional) – Attached stickersvideo_cover (
InputPhoto, optional) – Start playing the video at the specified timestamp (seconds).video_timestamp (
int32-bit, optional)ttl_seconds (
int32-bit, optional) – Time to live in seconds of self-destructing document