MadelineProtoDocs/old_docs/API_docs_v14/constructors/inputEncryptedFile.md

991 B

title description image
inputEncryptedFile Sets forwarded encrypted file for attachment. https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: inputEncryptedFile

Back to constructors index

Sets forwarded encrypted file for attachment.

Attributes:

Name Type Required Description
id long Yes File ID, value of id parameter from encryptedFile
access_hash long Yes Checking sum, value of access_hash parameter from encryptedFile

Type: InputEncryptedFile

Example:

$inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long];

Or, if you're into Lua:

inputEncryptedFile={_='inputEncryptedFile', id=long, access_hash=long}