MadelineProtoDocs/old_docs/API_docs_v102/constructors/inputSecureFile.md
2019-12-27 17:48:04 +01: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}