MadelineProtoDocs/docs/API_docs/constructors/inputPhotoLegacyFileLocation.md
2020-06-16 17:50:25 +02:00

1.2 KiB

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

Constructor: inputPhotoLegacyFileLocation

Back to constructors index

Legacy photo 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}