MadelineProtoDocs/docs/API_docs/constructors/messages.sentEncryptedFile.md
2019-12-27 18:25:37 +01:00

932 B

title description image
messages.sentEncryptedFile Message with a file enclosure sent to a protected chat https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: messages.sentEncryptedFile

Back to constructors index

Message with a file enclosure sent to a protected chat

Attributes:

Name Type Required Description
date int Yes Sending date
file EncryptedFile Optional Attached file

Type: messages.SentEncryptedMessage

Example:

$messages.sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile];

Or, if you're into Lua:

messages.sentEncryptedFile={_='messages.sentEncryptedFile', date=int, file=EncryptedFile}