messages.GetDhConfig
- class pyrogram.raw.functions.messages.GetDhConfig
Returns configuration parameters for Diffie-Hellman key generation. Can also return a random sequence of bytes of required length.
- Details:
Layer:
223ID:
26CF8950
- Parameters:
version (
int32-bit) – Value of the version parameter from messages.dhConfig, available at the clientrandom_length (
int32-bit) – Length of the required random sequence
- Returns:
TL Schema
messages.getDhConfig#26cf8950
version:int
random_length:int
= messages.DhConfig
Parameter Tree
GetDhConfig
├── version →
int└── random_length →
intExample
await app.invoke(
GetDhConfig(
version=0,
random_length=0,
)
)