MadelineProtoDocs/old_docs/API_docs_v89/constructors/fileLocation.md

980 B

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

Constructor: fileLocation

Back to constructors index

File location

Attributes:

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

Type: FileLocation

Example:

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

Or, if you're into Lua:

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