inputMediaUploadedThumbVideo

New video with a thumbnail.

Constructor schema is available as of layer 13. Switch »

Parameters

Name Type Description
file InputFile Video file saved in parts using the method upload.saveFilePart
thumb InputFile Thumbnail file saved in parts using the method upload.saveFilePart
duration int Duration of video in seconds
mime_type string MIME-type of the video file

Type

InputMedia