1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 01:46:55 +01:00
MadelineProto/docs/TD_docs/constructors/inputFileLocal.md
2017-07-23 16:11:02 +02:00

45 lines
704 B
Markdown

---
title: inputFileLocal
description: File deifned by local path
---
## Constructor: inputFileLocal
[Back to constructors index](index.md)
File deifned by local path
### Attributes:
| Name | Type | Required | Description |
|----------|:-------------:|:--------:|------------:|
|path|[string](../types/string.md) | Yes|Local path to the file|
### Type: [InputFile](../types/InputFile.md)
### Example:
```
$inputFileLocal = ['_' => 'inputFileLocal', 'path' => string, ];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_":"inputFileLocal","path":"string"}
```
Or, if you're into Lua:
```
inputFileLocal={_='inputFileLocal', path=string, }
```