MadelineProtoDocs/old_docs/API_docs_v4/constructors/inputEncryptedFileLocation.md

40 lines
1015 B
Markdown
Raw Normal View History

2020-06-16 17:50:25 +02:00
---
title: inputEncryptedFileLocation
description: Location of encrypted secret chat file.
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: inputEncryptedFileLocation
[Back to constructors index](index.md)
Location of encrypted secret chat file.
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|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)|
### 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}
```