Document location (video, voice, audio, basically every type except photo)
inputDocumentFileLocation#bad07584 id:long access_hash:long file_reference:bytes thumb_size:string = InputFileLocation;
| Name | Type | Description |
|---|---|---|
| id | long | Document ID |
| access_hash | long | access_hash parameter from the document constructor |
| file_reference | bytes | File reference |
| thumb_size | string | Thumbnail size to download the thumbnail |
Document
How to handle file references.