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

1.1 KiB

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

Constructor: inputFileLocation

Back to constructors index

File location

Attributes:

Name Type Required Description
volume_id long Yes Volume ID
local_id int Yes Local ID
secret long Yes Secret
file_reference bytes Yes File reference

Type: InputFileLocation

Example:

$inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, 'file_reference' => 'bytes'];

PWRTelegram json-encoded version:

{"_": "inputFileLocation", "volume_id": long, "local_id": int, "secret": long, "file_reference": {"_": "bytes", "bytes":"base64 encoded bytes"}}

Or, if you're into Lua:

inputFileLocation={_='inputFileLocation', volume_id=long, local_id=int, secret=long, file_reference='bytes'}