MadelineProtoDocs/old_docs/API_docs_v11/constructors/updateEncryption.md
2020-06-16 17:50:25 +02:00

796 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
encr_chat EncryptedChat Optional
date int Yes Date of change

Type: Update

Example:

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

Or, if you're into Lua:

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