MadelineProto/docs/TD_docs/constructors/inputFileId.md
2017-07-23 16:33:46 +02:00

45 lines
649 B
Markdown

---
title: inputFileId
description: File defined by its id
---
## Constructor: inputFileId
[Back to constructors index](index.md)
File defined by its id
### Attributes:
| Name | Type | Required | Description |
|----------|:-------------:|:--------:|------------:|
|id|[int](../types/int.md) | Yes|Unique file identifier|
### Type: [InputFile](../types/InputFile.md)
### Example:
```
$inputFileId = ['_' => 'inputFileId', 'id' => int];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "inputFileId", "id": int}
```
Or, if you're into Lua:
```
inputFileId={_='inputFileId', id=int}
```