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

1.2 KiB

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

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 long 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' => long, 'dc_id' => int, 'date' => int, 'file_hash' => 'bytes', 'secret' => 'bytes'];