MadelineProtoDocs/docs/API_docs/constructors/encryptedChatDiscarded.md
2024-05-01 14:53:46 +02:00

31 lines
819 B
Markdown

---
title: "encryptedChatDiscarded"
description: "Discarded or deleted chat."
nav_exclude: true
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: encryptedChatDiscarded
[Back to constructors index](/API_docs/constructors/index.html)
Discarded or deleted chat.
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|history\_deleted|[Bool](/API_docs/types/Bool.html) | Optional|Whether both users of this secret chat should also remove all of its messages|
|id|[int](/API_docs/types/int.html) | Yes|Chat ID|
### Type: [EncryptedChat](/API_docs/types/EncryptedChat.html)
### Example:
```
$encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'history_deleted' => Bool, 'id' => int];
```