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

933 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}