MadelineProtoDocs/old_docs/API_docs_v109/constructors/inputSecureFileLocation.md

40 lines
1.0 KiB
Markdown
Raw Permalink Normal View History

2020-03-06 12:24:14 +01:00
---
title: inputSecureFileLocation
description: Location of encrypted telegram [passport](https://core.telegram.org/passport) file.
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: inputSecureFileLocation
[Back to constructors index](index.md)
Location of encrypted telegram [passport](https://core.telegram.org/passport) file.
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|id|[long](../types/long.md) | Yes|File ID, **id** parameter value from [secureFile](../constructors/secureFile.md)|
|access\_hash|[long](../types/long.md) | Yes|Checksum, **access\_hash** parameter value from [secureFile](../constructors/secureFile.md)|
### Type: [InputFileLocation](../types/InputFileLocation.md)
### Example:
```php
$inputSecureFileLocation = ['_' => 'inputSecureFileLocation', 'id' => long, 'access_hash' => long];
```
Or, if you're into Lua:
```lua
inputSecureFileLocation={_='inputSecureFileLocation', id=long, access_hash=long}
```