mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 15:46:55 +01:00
38 lines
549 B
Markdown
38 lines
549 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, ];
|
|
```
|
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
```
|
|
inputFileId={_='inputFileId', id=int, }
|
|
|
|
```
|
|
|
|
|