MadelineProtoDocs/old_docs/API_docs_v70/constructors/messages.sentEncryptedFile.md
2019-12-27 18:46:25 +01: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}