Constructor: inputFile

Back to constructors index

Defines a file saved in parts using the method upload.saveFilePart.


Name Type Required Description
id long Yes Random file identifier created by the client
parts int Yes Number of parts saved
name string Yes Full name of the file
md5_checksum string Yes In case the file’s md5-hash was passed, contents of the file will be checked prior to use

Type: InputFile


$inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'string', 'md5_checksum' => 'string'];

Or, if you’re into Lua:

inputFile={_='inputFile', id=long, parts=int, name='string', md5_checksum='string'}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.