MadelineProtoDocs/old_docs/API_docs_v103/constructors/encryptedMessage.md
2019-08-15 20:25:16 +02:00

1005 B

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 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];

Or, if you're into Lua:

encryptedMessage={_='encryptedMessage', chat_id=int, date=int, decrypted_message=DecryptedMessage, file=EncryptedFile}