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