MadelineProtoDocs/docs/API_docs/constructors/inputEncryptedFileUploaded.md
2024-05-01 14:53:46 +02:00

1.2 KiB

title description nav_exclude image
inputEncryptedFileUploaded Sets new encrypted file saved by parts using upload.saveFilePart method. true 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 client
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];