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

806 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 Encr chat
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}