MadelineProtoDocs/old_docs/API_docs_v10/constructors/encryptedChatDiscarded.md

39 lines
689 B
Markdown
Raw Permalink Normal View History

2020-06-16 17:50:25 +02:00
---
title: encryptedChatDiscarded
description: Discarded or deleted chat.
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: encryptedChatDiscarded
[Back to constructors index](index.md)
Discarded or deleted chat.
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|id|[int](../types/int.md) | Yes|Chat ID|
### Type: [EncryptedChat](../types/EncryptedChat.md)
### Example:
```php
$encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int];
```
Or, if you're into Lua:
```lua
encryptedChatDiscarded={_='encryptedChatDiscarded', id=int}
```