MadelineProtoDocs/docs/API_docs/constructors/inputPhotoLegacyFileLocatio...

1.2 KiB

title description image
inputPhotoLegacyFileLocation Legacy file location https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: inputPhotoLegacyFileLocation

Back to constructors index

Legacy file location

Attributes:

Name Type Required Description
id long Yes Photo ID
access_hash long Yes Access hash
file_reference bytes Yes File reference
volume_id long Yes Volume ID
local_id int Yes Local ID
secret long Yes Secret

Type: InputFileLocation

Example:

$inputPhotoLegacyFileLocation = ['_' => 'inputPhotoLegacyFileLocation', 'id' => long, 'access_hash' => long, 'file_reference' => 'bytes', 'volume_id' => long, 'local_id' => int, 'secret' => long];

Or, if you're into Lua:

inputPhotoLegacyFileLocation={_='inputPhotoLegacyFileLocation', id=long, access_hash=long, file_reference='bytes', volume_id=long, local_id=int, secret=long}