Link Search Menu Expand Document

Constructor: inputDocumentFileLocation

Back to constructors index

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

Attributes:

NameTypeRequiredDescription
idlongYesDocument ID
access_hashlongYesaccess_hash parameter from the document constructor
file_referencebytesYesFile reference
thumb_sizestringYesThumbnail size to download the thumbnail

Type: InputFileLocation

Example:

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