MadelineProtoDocs/old_docs/API_docs_v41/constructors/updateEncryption.md

735 B

title description image
updateEncryption Update encryption https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateEncryption

Back to constructors index

Update encryption

Attributes:

Name Type Required Description
chat EncryptedChat Optional Chat
date int Yes Date

Type: Update

Example:

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

Or, if you're into Lua:

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