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

1.1 KiB

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

Constructor: inputDocumentFileLocation

Back to constructors index

Document file location

Attributes:

Name Type Required Description
id long Yes ID
access_hash long Yes Access hash
file_reference bytes Yes File reference

Type: InputFileLocation

Example:

$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, 'file_reference' => 'bytes'];

PWRTelegram json-encoded version:

{"_": "inputDocumentFileLocation", "id": long, "access_hash": long, "file_reference": {"_": "bytes", "bytes":"base64 encoded bytes"}}

Or, if you're into Lua:

inputDocumentFileLocation={_='inputDocumentFileLocation', id=long, access_hash=long, file_reference='bytes'}