MadelineProtoDocs/old_docs/API_docs_v57/constructors/updateEncryption.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00: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}