MadelineProtoDocs/old_docs/API_docs_v66/constructors/future_salt.md

41 lines
785 B
Markdown

---
title: future_salt
description: Future salt
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: future\_salt
[Back to constructors index](index.md)
Future salt
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|valid\_since|[int](../types/int.md) | Yes|Valid since|
|valid\_until|[int](../types/int.md) | Yes|Valid until|
|salt|[long](../types/long.md) | Yes|Salt|
### Type: [FutureSalt](../types/FutureSalt.md)
### Example:
```php
$future_salt = ['_' => 'future_salt', 'valid_since' => int, 'valid_until' => int, 'salt' => long];
```
Or, if you're into Lua:
```lua
future_salt={_='future_salt', valid_since=int, valid_until=int, salt=long}
```