EncryptedChatDiscarded
- class pyrogram.raw.types.EncryptedChatDiscarded
Discarded or deleted chat.
Constructor of
EncryptedChat.- Details:
Layer:
223ID:
1E1C7C45
- Parameters:
id (
int32-bit) – Chat IDhistory_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.
Sends a request to start a secret chat to the user.
Confirms creation of a secret chat
TL Schema
encryptedChatDiscarded#1e1c7c45
flags:#
history_deleted:flags.0?true
id:int
= EncryptedChat
Parameter Tree
EncryptedChatDiscarded
├── history_deleted →
true (optional)└── id →
intExample
EncryptedChatDiscarded(
id=0,
)