mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-04 02:28:31 +01:00
31 lines
819 B
Markdown
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];
|
|
```
|