Skip to content

miniproto.auth.key_exchange.DHGenOk

DHGenOk(nonce: int, server_nonce: int, new_nonce_hash1: int) -> None

dh_gen_ok response containing the first new-nonce hash.

Parameters:

  • nonce (int) – Client nonce echoed by Telegram.
  • server_nonce (int) – Server nonce echoed by Telegram.
  • new_nonce_hash1 (int) – Expected first confirmation hash for the new authorization key.