Layer 224
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(1234567890),
    AccessHash: int64(1234567890),
    FileReference: []byte{0x01, 0x02, 0x03},
    ThumbSize: "Hello, World!",
}