MadelineProtoDocs/old_docs/API_docs_v46/constructors/updateEncryption.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

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

PWRTelegram json-encoded version:

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

Or, if you're into Lua:

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