--- 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} ```