Secure value
Constructor schema is available as of layer 85. Switch ยป
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?SecureFile | Encrypted passport file with the front side of the document |
reverse_side | flags.2?SecureFile | Encrypted passport file with the reverse side of the document |
selfie | flags.3?SecureFile | Encrypted passport file with a selfie of the user holding the document |
translation | flags.6?Vector<SecureFile> | Array of encrypted passport files with translated versions of the provided documents |
files | flags.4?Vector<SecureFile> | Array of encrypted passport files with photos the of the documents |
plain_data | flags.5?SecurePlainData | Plaintext verified passport data |
hash | bytes | Data hash |