inputMediaUploadedThumbDocument

New document with a thumbnail.

inputMediaUploadedThumbDocument#41481486 file:InputFile thumb:InputFile mime_type:string attributes:Vector<DocumentAttribute> = InputMedia;

Parameters

Name Type Description
file InputFile Document, saved in parts by using the methods upload.saveFilePart or upload.saveBigFilePart
thumb InputFile Thumbnail file, saved in parts by using upload.saveFilePart
file_name string File name with extension
mime_type string File MIME-type

Type

InputMedia