EncryptedChatDiscarded

class pyrogram.raw.types.EncryptedChatDiscarded

Discarded or deleted chat.

Constructor type of EncryptedChat.

Details
  • Layer: 126

  • ID: 0x1e1c7c45

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

  • history_deleted (bool, optional) – Telegram API parameter.

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.