Layer 220
constructor
inputDocument#1abfb575 id:long access_hash:long file_reference:bytes = InputDocument;

Parameters

Name Type Description
Id long Document ID
AccessHash long access_hash parameter from the document constructor
FileReference bytes File reference

Returns

InputDocument

Gogram Example

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