mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-12 15:27:20 +01:00
779 B
779 B
title | description |
---|---|
updateEncryption | updateEncryption attributes, type and example |
Constructor: updateEncryption
Attributes:
Name | Type | Required |
---|---|---|
encr_chat | EncryptedChat | Yes |
date | int | Yes |
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}