SetClientDHParams

class pyrogram.api.functions.SetClientDHParams(*, nonce: int, server_nonce: int, encrypted_data: bytes)
ID

0xf5045f1f

Parameters:
  • nonceint 128-bit
  • server_nonceint 128-bit
  • encrypted_databytes
Raises:

RPCError

Returns:

Either DhGenOk, DhGenRetry or DhGenFail