messages.DhConfig#

class pyrogram.raw.types.messages.DhConfig#

Telegram API type.

Constructor of DhConfig.

Details:
  • Layer: 224

  • ID: 2C221EDD

Parameters:
  • g (int 32-bit) – N/A

  • p (bytes) – N/A

  • version (int 32-bit) – N/A

  • random (bytes) – N/A

Functions:

This object can be returned by 1 function.

messages.GetDhConfig

Returns configuration parameters for Diffie-Hellman key generation.