MadelineProtoDocs/old_docs/API_docs_v43/constructors/inputFileLocation.md

42 lines
1.0 KiB
Markdown
Raw Permalink Normal View History

2020-09-12 12:47:38 +02:00
---
title: inputFileLocation
description: DEPRECATED location of a photo
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: inputFileLocation
[Back to constructors index](index.md)
DEPRECATED location of a photo
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|volume\_id|[long](../types/long.md) | Yes|Server volume|
|local\_id|[int](../types/int.md) | Yes|File identifier|
|secret|[long](../types/long.md) | Yes|Check sum to access the file|
|file\_reference|[bytes](../types/bytes.md) | Yes|[File reference](https://core.telegram.org/api/file_reference)|
### Type: [InputFileLocation](../types/InputFileLocation.md)
### Example:
```php
$inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, 'file_reference' => 'bytes'];
```
Or, if you're into Lua:
```lua
inputFileLocation={_='inputFileLocation', volume_id=long, local_id=int, secret=long, file_reference='bytes'}
```