MadelineProtoDocs/old_docs/API_docs_v21/constructors/updateEncryption.md
2020-06-16 17:50:25 +02: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}