Link Search Menu Expand Document

Constructor: secureFile

Back to constructors index

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

Attributes:

NameTypeRequiredDescription
idlongYesID
access_hashlongYesAccess hash
sizelongYesFile size
dc_idintYesDC ID
dateintYesDate of upload
file_hashbytesYesFile hash
secretbytesYesSecret

Type: SecureFile

Example:

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