telegram api constructor · layer 229 · #db21d0a7
inputSecureValue
Secure value, for more info see the passport docs »
definition
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;
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 | InputSecureFile | Encrypted passport file with the front side of the document |
reverse_side | InputSecureFile | Encrypted passport file with the reverse side of the document |
selfie | InputSecureFile | Encrypted passport file with a selfie of the user holding the document |
translation | Vector<InputSecureFile> | Array of encrypted passport files with translated versions of the provided documents |
files | Vector<InputSecureFile> | Array of encrypted passport files with photos the of the documents |
plain_data | SecurePlainData | Plaintext verified passport data |
type
history
present in layers 80–229 · constructor id changed 2×
| id | layers |
|---|---|
| #c0da30f0 | 80 |
| #067872e8 | 81–84 |
| #db21d0a7 | 85–229 |