1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 16:07:04 +01:00
MadelineProto/docs/TD_docs/constructors/inputFileLocal.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00:00

45 lines
707 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'}
```