mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-03 10:08:28 +01:00
31 lines
755 B
Markdown
31 lines
755 B
Markdown
|
---
|
||
|
title: "updateEncryption"
|
||
|
description: "Change of state in an encrypted chat."
|
||
|
nav_exclude: true
|
||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||
|
---
|
||
|
# Constructor: updateEncryption
|
||
|
[Back to constructors index](/API_docs/constructors/index.html)
|
||
|
|
||
|
|
||
|
|
||
|
Change of state in an encrypted chat.
|
||
|
|
||
|
### Attributes:
|
||
|
|
||
|
| Name | Type | Required | Description |
|
||
|
|----------|---------------|----------|-------------|
|
||
|
|chat|[EncryptedChat](/API_docs/types/EncryptedChat.html) | Optional|Encrypted chat|
|
||
|
|date|[int](/API_docs/types/int.html) | Yes|Date of change|
|
||
|
|
||
|
|
||
|
|
||
|
### Type: [Update](/API_docs/types/Update.html)
|
||
|
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
```
|
||
|
$updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int];
|
||
|
```
|