MadelineProtoDocs/old_docs/API_docs_v46/constructors/updateEncryption.md

756 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
encr_chat EncryptedChat Optional Encr chat
date int Yes Date

Type: Update

Example:

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

Or, if you're into Lua:

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