MadelineProtoDocs/docs/MTProto_docs/constructors/future_salt.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

47 lines
931 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];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "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}
```