InputSecureValue
- class pyrogram.raw.types.InputSecureValue
Secure value, for more info see the passport docs »
Constructor of
InputSecureValue.- Details:
Layer:
223ID:
DB21D0A7
- Parameters:
type (
SecureValueType) – Secure passport value typedata (
SecureData, optional) – Encrypted Telegram Passport element datafront_side (
InputSecureFile, optional) – Encrypted passport file with the front side of the documentreverse_side (
InputSecureFile, optional) – Encrypted passport file with the reverse side of the documentselfie (
InputSecureFile, optional) – Encrypted passport file with a selfie of the user holding the documenttranslation (List of
InputSecureFile, optional) – Array of encrypted passport files with translated versions of the provided documentsfiles (List of
InputSecureFile, optional) – Array of encrypted passport files with photos the of the documentsplain_data (
SecurePlainData, optional) – Plaintext verified passport data
TL Schema
inputSecureValue#db21d0a7
flags:#
type:SecureValueType
data:flags.0?SecureData
front_side:flags.1?InputSecureFile
reverse_side:flags.2?InputSecureFile
selfie:flags.3?InputSecureFile
translation:flags.6?Vector<InputSecureFile>
files:flags.4?Vector<InputSecureFile>
plain_data:flags.5?SecurePlainData
= InputSecureValue
Parameter Tree
SecureValueTypeSecureValueTypePassportSecureValueTypeAddressSecureValueTypePhoneSecureValueTypeEmailSecureData (optional)SecureDatabytesbytesbytesInputSecureFile (optional)InputSecureFileUploadedlongintstringbytesbytesInputSecureFilelonglongInputSecureFile (optional)InputSecureFileUploadedlongintstringbytesbytesInputSecureFilelonglongInputSecureFile (optional)InputSecureFileUploadedlongintstringbytesbytesInputSecureFilelonglongVector < InputSecureFile > (optional)InputSecureFileUploadedlongintstringbytesbytesInputSecureFilelonglongVector < InputSecureFile > (optional)InputSecureFileUploadedlongintstringbytesbytesInputSecureFilelonglongSecurePlainData (optional)Example
InputSecureValue(
type=SecureValueTypePersonalDetails(),
)