MadelineProtoDocs/old_docs/API_docs_v109/constructors/inputFileLocation.md
2020-03-06 12:24:14 +01:00

1.0 KiB

title description image
inputFileLocation DEPRECATED location of a photo https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: inputFileLocation

Back to constructors index

DEPRECATED location of a photo

Attributes:

Name Type Required Description
volume_id long Yes Server volume
local_id int Yes File identifier
secret long Yes Check sum to access the file
file_reference bytes Yes File reference

Type: InputFileLocation

Example:

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

Or, if you're into Lua:

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