mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 15:46:55 +01:00
45 lines
649 B
Markdown
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}
|
|
|
|
```
|
|
|
|
|