# inputDocumentFileLocation

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

[Back to constructors index](/API_docs/constructors/index.html)



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

### Attributes:

| Name     |    Type       | Required | Description |
|----------|---------------|----------|-------------|
|id|[long](/API_docs/types/long.html) | Yes|Document ID|
|access\_hash|[long](/API_docs/types/long.html) | Yes|**access\_hash** parameter from the [document](../constructors/document.html) constructor|
|file\_reference|[bytes](/API_docs/types/bytes.html) | Yes|[File reference](https://core.telegram.org/api/file-references)|
|thumb\_size|[string](/API_docs/types/string.html) | Yes|Thumbnail size to download the thumbnail|



### Type: [InputFileLocation](/API_docs/types/InputFileLocation.html)


### Example:

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