mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-03 10:08:28 +01:00
1.2 KiB
1.2 KiB
title | description | nav_exclude | image | redirect_from |
---|---|---|---|---|
messages.dhConfig | New set of configuring parameters. | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png | /API_docs/constructors/messages_dhConfig.html |
Constructor: messages.dhConfig
New set of configuring parameters.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
g | int | Yes | New value prime, see Wikipedia |
p | bytes | Yes | New value primitive root, see Wikipedia |
version | int | Yes | Version of set of parameters |
random | bytes | Yes | Random sequence of bytes of assigned length |
Type: messages.DhConfig
Example:
$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes'];