MadelineProtoDocs/old_docs/API_docs_v82/constructors/encryptedMessage.md
2019-12-27 17:48:04 +01:00

1.0 KiB

title description image
encryptedMessage Encrypted message. https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: encryptedMessage

Back to constructors index

Encrypted message.

Attributes:

Name Type Required Description
chat_id int Yes ID of encrypted chat
date int Yes Date of sending
decrypted_message DecryptedMessage Yes Decrypted message
file EncryptedFile Optional Attached encrypted file

Type: EncryptedMessage

Example:

$encryptedMessage = ['_' => '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}