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