inputMediaUploadedThumbDocument

New document with a thumbnail.

inputMediaUploadedThumbDocument#3e46de5d file:InputFile thumb:InputFile file_name:string mime_type:string = 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