inputMediaUploadedThumbDocument

New document with a thumbnail.

Constructor schema is available as of layer 22. Switch »

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