MadelineProtoDocs/docs/API_docs/constructors/fileLocation_23.md

40 lines
824 B
Markdown
Raw Normal View History

2018-12-26 02:56:50 +01:00
---
title: fileLocation
2020-06-16 17:50:25 +02:00
description: fileLocation attributes, type and example
2018-12-26 02:56:50 +01:00
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: fileLocation\_23
[Back to constructors index](index.md)
### Attributes:
2020-06-16 17:50:25 +02:00
| Name | Type | Required |
|----------|---------------|----------|
|dc\_id|[int](../types/int.md) | Yes|
|volume\_id|[long](../types/long.md) | Yes|
|local\_id|[int](../types/int.md) | Yes|
|secret|[long](../types/long.md) | Yes|
2018-12-26 02:56:50 +01:00
### Type: [FileLocation](../types/FileLocation.md)
### Example:
```php
$fileLocation_23 = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long];
```
Or, if you're into Lua:
```lua
fileLocation_23={_='fileLocation', dc_id=int, volume_id=long, local_id=int, secret=long}
```