EncryptedChatWaiting

class pyrogram.raw.types.EncryptedChatWaiting

Chat waiting for approval of second participant.

Constructor type of EncryptedChat.

Details
  • Layer: 126

  • ID: 0x3bf703dc

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 32-bit) – Chat creator ID.

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

Methods

This object can be returned by 2 methods:

messages.RequestEncryption

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

messages.AcceptEncryption

Confirms creation of a secret chat.