messages.getDhConfig
Returns configuration parameters for Diffie-Hellman key generation. Can also return a random sequence of bytes of required length.
Example
TL schema
Parameters
Name | Type | Description |
version | Value of the version parameter from messages.dhConfig, avialable at the client | |
random_length | Length of the required random sequence |
Result
Possible errors
Code | Type | Description |
400 | RANDOM_LENGTH_INVALID | Random length invalid |
Can bots use this methd ?
yes
Related pages
New set of configuring parameters.
Last updated