AcceptEncryption

class pyrogram.raw.functions.messages.AcceptEncryption

Confirms creation of a secret chat.

Details
  • Layer: 126

  • ID: 0x3dbc0415

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 – Object contains info on an encrypted chat.