MadelineProtoDocs/old_docs/API_docs_v40/constructors/updateEncryption.md
2019-12-27 17:48:04 +01:00

795 B

title description image
updateEncryption Change of state in an encrypted chat. https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateEncryption

Back to constructors index

Change of state in an encrypted chat.

Attributes:

Name Type Required Description
chat EncryptedChat Optional Encrypted chat
date int Yes Date of change

Type: Update

Example:

$updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int];

Or, if you're into Lua:

updateEncryption={_='updateEncryption', chat=EncryptedChat, date=int}