mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-12 09:59:41 +01:00
1.0 KiB
1.0 KiB
title | description |
---|---|
encryptedMessage | encryptedMessage attributes, type and example |
Constructor: encryptedMessage
Attributes:
Name | Type | Required |
---|---|---|
chat_id | int | Yes |
date | int | Yes |
decrypted_message | DecryptedMessage | Yes |
file | EncryptedFile | Yes |
Type: EncryptedMessage
Example:
$encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile];
PWRTelegram json-encoded version:
{"_": "encryptedMessage", "chat_id": int, "date": int, "decrypted_message": DecryptedMessage, "file": EncryptedFile}
Or, if you're into Lua:
encryptedMessage={_='encryptedMessage', chat_id=int, date=int, decrypted_message=DecryptedMessage, file=EncryptedFile}