MadelineProtoDocs/old_docs/API_docs_v38/constructors/inputSecureFile.md
2020-06-16 17:50:25 +02:00

1.0 KiB

title description image
inputSecureFile Preuploaded [passport](https://core.telegram.org/passport) file, for more info [see the passport docs »](https://core.telegram.org/passport/encryption#inputsecurefile) https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: inputSecureFile

Back to constructors index

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

Attributes:

Name Type Required Description
id long Yes Secure file ID
access_hash long Yes Secure file access hash

Type: InputSecureFile

Example:

$inputSecureFile = ['_' => 'inputSecureFile', 'id' => long, 'access_hash' => long];

Or, if you're into Lua:

inputSecureFile={_='inputSecureFile', id=long, access_hash=long}