MadelineProtoDocs/old_docs/API_docs_v65/constructors/inputFileBig.md
2019-12-27 17:48:04 +01:00

1.0 KiB

title description image
inputFileBig Assigns a big file (over 10Mb in size), saved in part using the method [upload.saveBigFilePart](../methods/upload.saveBigFilePart.md). https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: inputFileBig

Back to constructors index

Assigns a big file (over 10Mb in size), saved in part using the method upload.saveBigFilePart.

Attributes:

Name Type Required Description
id long Yes Random file id, created by the client
parts int Yes Number of parts saved
name string Yes Full file name

Type: InputFile

Example:

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

Or, if you're into Lua:

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