MadelineProtoDocs/old_docs/API_docs_v65/constructors/inputFile.md

825 B

title description image
inputFile File https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: inputFile

Back to constructors index

File

Attributes:

Name Type Required Description
id long Yes ID
parts int Yes Parts
name string Yes Name
md5_checksum string Yes Md5 checksum

Type: InputFile

Example:

$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'}