MadelineProtoDocs/old_docs/API_docs_v14/constructors/updateEncryption.md

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}