1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-12 21:47:21 +01:00
MadelineProto/old_docs/API_docs_v45/constructors/updateEncryption.md
2017-07-23 16:11:02 +02:00

761 B

title description
updateEncryption updateEncryption attributes, type and example

Constructor: updateEncryption

Back to constructors index

Attributes:

Name Type Required
chat EncryptedChat Yes
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, }