MadelineProtoDocs/old_docs/API_docs_v33/constructors/updateEncryption.md
2018-04-01 13:24:46 +02:00

763 B

title description
updateEncryption updateEncryption attributes, type and example

Constructor: updateEncryption

Back to constructors index

Attributes:

Name Type Required
chat EncryptedChat Optional
date int Yes

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}