inputSecureValue

Secure value, for more info see the passport docs »

Constructor schema is available as of layer 85. Switch »

Parameters

Name Type Description
flags # Flags, see TL conditional fields
type SecureValueType Secure passport value type
data flags.0?SecureData Encrypted Telegram Passport element data
front_side flags.1?InputSecureFile Encrypted passport file with the front side of the document
reverse_side flags.2?InputSecureFile Encrypted passport file with the reverse side of the document
selfie flags.3?InputSecureFile Encrypted passport file with a selfie of the user holding the document
translation flags.6?Vector<InputSecureFile> Array of encrypted passport files with translated versions of the provided documents
files flags.4?Vector<InputSecureFile> Array of encrypted passport files with photos the of the documents
plain_data flags.5?SecurePlainData Plaintext verified passport data

Type

InputSecureValue

Related pages

Telegram Passport Manual

Telegram Passport, a unified authorization method for services that require personal identification.

Telegram Passport Encryption Details

How Telegram Passport data is stored and encrypted end-to-end.