# inputDocument

Defines a document for subsequent interaction.

```tl
inputDocument#1abfb575 id:long access_hash:long file_reference:bytes = InputDocument;
```

### Parameters

| Name | Type | Description |
| --- | :---: | --- |
| **id** | [long](/type/long.md) | Document ID |
| **access\_hash** | [long](/type/long.md) | **access\_hash** parameter from the [document](/constructor/document.md) constructor |
| **file\_reference** | [bytes](/type/bytes.md) | [File reference](/api/file-references.md) |

### Type
[InputDocument](/type/InputDocument.md)

### Related pages

#### [document](/constructor/document.md)
Document

#### [File references](/api/file-references.md)
How to handle file references.