telegram api constructor · layer 229 · #187fa0ca
secureValue
Secure value
definition
secureValue#187fa0ca flags:# type:SecureValueType data:flags.0?SecureData front_side:flags.1?SecureFile reverse_side:flags.2?SecureFile selfie:flags.3?SecureFile translation:flags.6?Vector<SecureFile> files:flags.4?Vector<SecureFile> plain_data:flags.5?SecurePlainData hash:bytes = SecureValue;
parameters
| name | type | description |
|---|---|---|
flags | # | Flags, see TL conditional fields |
type | SecureValueType | Secure passport value type |
data | SecureData | Encrypted Telegram Passport element data |
front_side | SecureFile | Encrypted passport file with the front side of the document |
reverse_side | SecureFile | Encrypted passport file with the reverse side of the document |
selfie | SecureFile | Encrypted passport file with a selfie of the user holding the document |
translation | Vector<SecureFile> | Array of encrypted passport files with translated versions of the provided documents |
files | Vector<SecureFile> | Array of encrypted passport files with photos the of the documents |
plain_data | SecurePlainData | Plaintext verified passport data |
hash | bytes | Data hash |
type
history
present in layers 80–229 · constructor id changed 2×
| id | layers |
|---|---|
| #ec4134c8 | 80 |
| #b4b4b699 | 81–84 |
| #187fa0ca | 85–229 |