Link Search Menu Expand Document

Constructor: inputFile

Back to constructors index

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

Attributes:

NameTypeRequiredDescription
idlongYesRandom file identifier created by the client
partsintYesNumber of parts saved
namestringYesFull name of the file
md5_checksumstringYesIn case the file’s md5-hash was passed, contents of the file will be checked prior to use

Type: InputFile

Example:

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