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

1020 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];

PWRTelegram json-encoded version:

{"_": "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}