Layer 220
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

Gogram Example

// Creating InputDocumentFileLocation constructor
obj := &tg.InputDocumentFileLocation{
    Id: int64(0),
    AccessHash: int64(0),
    FileReference: []byte{},
    ThumbSize: "...",
}