1.2 KiB
1.2 KiB
title | description | image |
---|---|---|
encryptedMessage | Encrypted message | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: encryptedMessage
Encrypted message
Attributes:
Name | Type | Required | Description |
---|---|---|---|
chat_id | int | Yes | Chat ID |
date | int | Yes | Date |
decrypted_message | DecryptedMessage | Yes | Decrypted message |
file | EncryptedFile | Optional | File |
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}