1.2 KiB
1.2 KiB
title | description | image |
---|---|---|
fileLocation | File location | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: fileLocation
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'];
PWRTelegram json-encoded version:
{"_": "fileLocation", "dc_id": int, "volume_id": long, "local_id": int, "secret": long, "file_reference": {"_": "bytes", "bytes":"base64 encoded bytes"}}
Or, if you're into Lua:
fileLocation={_='fileLocation', dc_id=int, volume_id=long, local_id=int, secret=long, file_reference='bytes'}