Layer 224
InputDocumentObj
Defines a document for subsequent interaction.
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
InputDocumentGogram Example
// Creating InputDocumentObj constructor obj := &tg.InputDocumentObj{ Id: int64(1234567890), AccessHash: int64(1234567890), FileReference: []byte{0x01, 0x02, 0x03}, }