MadelineProtoDocs/old_docs/API_docs_v102/constructors/inputEncryptedFileLocation.md

40 lines
1015 B
Markdown
Raw Normal View History

2019-06-24 15:45:02 +02:00
---
title: inputEncryptedFileLocation
2019-12-27 17:48:04 +01:00
description: Location of encrypted secret chat file.
2019-06-24 15:45:02 +02:00
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: inputEncryptedFileLocation
[Back to constructors index](index.md)
2019-12-27 17:48:04 +01:00
Location of encrypted secret chat file.
2019-06-24 15:45:02 +02:00
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
2019-12-27 17:48:04 +01:00
|id|[long](../types/long.md) | Yes|File ID, **id** parameter value from [encryptedFile](../constructors/encryptedFile.md)|
|access\_hash|[long](../types/long.md) | Yes|Checksum, **access\_hash** parameter value from [encryptedFile](../constructors/encryptedFile.md)|
2019-06-24 15:45:02 +02:00
### Type: [InputFileLocation](../types/InputFileLocation.md)
### Example:
```php
$inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long];
```
Or, if you're into Lua:
```lua
inputEncryptedFileLocation={_='inputEncryptedFileLocation', id=long, access_hash=long}
```