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

1.3 KiB

title description image
inputEncryptedFileUploaded Sets new encrypted file saved by parts using upload.saveFilePart method. https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: inputEncryptedFileUploaded

Back to constructors index

Sets new encrypted file saved by parts using upload.saveFilePart method.

Attributes:

Name Type Required Description
id long Yes Random file ID created by clien
parts int Yes Number of saved parts
md5_checksum string Yes In case md5-HASH of the (already encrypted) file was transmitted, file content will be checked prior to use
key_fingerprint int Yes 32-bit fingerprint of the key used to encrypt a file

Type: InputEncryptedFile

Example:

$inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => 'string', 'key_fingerprint' => int];

Or, if you're into Lua:

inputEncryptedFileUploaded={_='inputEncryptedFileUploaded', id=long, parts=int, md5_checksum='string', key_fingerprint=int}