Layer 220
InputDocumentFileLocation
Document location (video, voice, audio, basically every type except photo)
constructor
inputDocumentFileLocation#bad07584 id:long access_hash:long file_reference:bytes thumb_size:string = InputFileLocation;
Parameters
| Name | Type | Description |
|---|---|---|
| Id | long | Document ID |
| AccessHash | long | access_hash parameter from the document constructor |
| FileReference | bytes | File reference |
| ThumbSize | string | Thumbnail size to download the thumbnail |
Returns
InputFileLocationGogram Example
// Creating InputDocumentFileLocation constructor obj := &tg.InputDocumentFileLocation{ Id: int64(0), AccessHash: int64(0), FileReference: []byte{}, ThumbSize: "...", }