MadelineProtoDocs/old_docs/API_docs_v91/constructors/updateEncryption.md
2019-03-08 13:49:23 +01:00

868 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];

PWRTelegram json-encoded version:

{"_": "updateEncryption", "chat": EncryptedChat, "date": int}

Or, if you're into Lua:

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