1.1 KiB
1.1 KiB
title | description | image |
---|---|---|
inputFileLocation | File location | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: inputFileLocation
File location
Attributes:
Name | Type | Required | Description |
---|---|---|---|
volume_id | long | Yes | Volume ID |
local_id | int | Yes | Local ID |
secret | long | Yes | Secret |
file_reference | bytes | Yes | File reference |
Type: InputFileLocation
Example:
$inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, 'file_reference' => 'bytes'];
PWRTelegram json-encoded version:
{"_": "inputFileLocation", "volume_id": long, "local_id": int, "secret": long, "file_reference": {"_": "bytes", "bytes":"base64 encoded bytes"}}
Or, if you're into Lua:
inputFileLocation={_='inputFileLocation', volume_id=long, local_id=int, secret=long, file_reference='bytes'}