ReqDHParams

class pyrogram.api.functions.ReqDHParams(*, nonce: int, server_nonce: int, p: bytes, q: bytes, public_key_fingerprint: int, encrypted_data: bytes)
ID

0xd712e4be

Parameters:
  • nonceint 128-bit
  • server_nonceint 128-bit
  • pbytes
  • qbytes
  • public_key_fingerprintint 64-bit
  • encrypted_databytes
Raises:

RPCError

Returns:

Either ServerDHParamsFail or ServerDHParamsOk