Constructor: inputDocumentFileLocation

Back to constructors index

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


Name Type Required Description
id long Yes Document ID
access_hash long Yes access_hash parameter from the document constructor
file_reference bytes Yes File reference
thumb_size string Yes Thumbnail size to download the thumbnail

Type: InputFileLocation


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

Or, if you’re into Lua:

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

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.