MadelineProtoDocs/old_docs/API_docs_v22/constructors/inputDocumentFileLocation.md
2020-06-16 17:50:25 +02:00

1.0 KiB

title description image
inputDocumentFileLocation Document location (video, voice, audio, basically every type except photo) https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: inputDocumentFileLocation

Back to constructors index

Document location (video, voice, audio, basically every type except photo)

Attributes:

Name Type Required Description
id long Yes Document ID
access_hash long Yes access_hash parameter from the document constructor
version int Yes

Type: InputFileLocation

Example:

$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, 'version' => int];

Or, if you're into Lua:

inputDocumentFileLocation={_='inputDocumentFileLocation', id=long, access_hash=long, version=int}