MadelineProtoDocs/old_docs/API_docs_v21/constructors/messages.sentEncryptedFile.md
2020-06-16 17:50:25 +02:00

1002 B

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

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}