MadelineProtoDocs/old_docs/API_docs_v40/constructors/fileLocation.md

861 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

Type: FileLocation

Example:

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

Or, if you're into Lua:

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