EncryptedChatWaiting#

class pyrogram.raw.types.EncryptedChatWaiting#

Chat waiting for approval of second participant.

Constructor of EncryptedChat.

Details:
  • Layer: 158

  • ID: 66B25953

Parameters:
  • id (int 32-bit) – Chat ID.

  • access_hash (int 64-bit) – Checking sum depending on user ID.

  • date (int 32-bit) – Date of chat creation.

  • admin_id (int 64-bit) – Chat creator ID.

  • participant_id (int 64-bit) – ID of second chat participant.

Functions:

This object can be returned by 2 functions.

messages.RequestEncryption

Sends a request to start a secret chat to the user.

messages.AcceptEncryption

Confirms creation of a secret chat.