MadelineProtoDocs/docs/MTProto_docs/constructors/server_DH_params_fail.md

41 lines
1008 B
Markdown

---
title: server_DH_params_fail
description: Server params fail
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: server\_DH\_params\_fail
[Back to constructors index](index.md)
Server params fail
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|nonce|[int128](../types/int128.md) | Yes|Random number for cryptographic security|
|server\_nonce|[int128](../types/int128.md) | Yes|Random number for cryptographic security, given by server|
|new\_nonce\_hash|[int128](../types/int128.md) | Yes|New nonce hash|
### Type: [Server\_DH\_Params](../types/Server_DH_Params.md)
### Example:
```php
$server_DH_params_fail = ['_' => 'server_DH_params_fail', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash' => int128];
```
Or, if you're into Lua:
```lua
server_DH_params_fail={_='server_DH_params_fail', nonce=int128, server_nonce=int128, new_nonce_hash=int128}
```