messages.AcceptEncryption#

class pyrogram.raw.functions.messages.AcceptEncryption#

Confirms creation of a secret chat.

Details:
  • Layer: 158

  • ID: 3DBC0415

Parameters:
  • peer (InputEncryptedChat) – Secret chat ID.

  • g_b (bytes) – B = g ^ b mod p, see Wikipedia.

  • key_fingerprint (int 64-bit) – 64-bit fingerprint of the received key.

Returns:

EncryptedChat