mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
1.1 KiB
1.1 KiB
title | description | nav_exclude | image |
---|---|---|---|
inputFile | Defines a file saved in parts using the method upload.saveFilePart. | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: inputFile
Defines a file saved in parts using the method upload.saveFilePart.
Attributes:
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
Example:
$inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => 'string', 'md5_checksum' => 'string'];