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

1.2 KiB

title description nav_exclude image
inputSecureFileUploaded Uploaded secure file, for more info see the passport docs » true https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: inputSecureFileUploaded

Back to constructors index

Uploaded secure file, for more info see the passport docs »

Attributes:

Name Type Required Description
id long Yes Secure file ID
parts int Yes Secure file part count
md5_checksum string Yes MD5 hash of encrypted uploaded file, to be checked server-side
file_hash bytes Yes File hash
secret bytes Yes Secret

Type: InputSecureFile

Example:

$inputSecureFileUploaded = ['_' => 'inputSecureFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => 'string', 'file_hash' => 'bytes', 'secret' => 'bytes'];