# Constructor: secureFile

Back to constructors index

Secure passport file, for more info see the passport docs »

# Attributes:

Name Type Required Description
id long Yes ID
access_hash long Yes Access hash
size int Yes File size
dc_id int Yes DC ID
date int Yes Date of upload
file_hash bytes Yes File hash
secret bytes Yes Secret

# Type: SecureFile

# Example:

$secureFile = ['_' => 'secureFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'date' => int, 'file_hash' => 'bytes', 'secret' => 'bytes'];

Or, if you’re into Lua:

secureFile={_='secureFile', id=long, access_hash=long, size=int, dc_id=int, date=int, 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.