MadelineProtoDocs/old_docs/API_docs_v23/constructors/inputFile.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

985 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'];

PWRTelegram json-encoded version:

{"_": "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'}