EncryptedChatDiscarded

class pyrogram.raw.types.EncryptedChatDiscarded

Discarded or deleted chat.

Constructor of EncryptedChat.

Details:
  • Layer: 194

  • ID: 1E1C7C45

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

  • history_deleted (bool, optional) – Whether both users of this secret chat should also remove all of its messages

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