Constructor: inputSecureFileUploaded

Back to constructors index

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


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


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

Or, if you’re into Lua:

inputSecureFileUploaded={_='inputSecureFileUploaded', id=long, parts=int, md5_checksum='string', file_hash='bytes', secret='bytes'}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.