Layer 227
InputSecureValueObj
Secure value, for more info see the passport docs
constructor
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 |
|---|---|---|
| Type | SecureValueType | Secure passport value type |
| Data | flags .0? SecureData | Encrypted Telegram Passport element data |
| FrontSide | flags .1? InputSecureFile | Encrypted passport file with the front side of the document |
| ReverseSide | 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 |
| PlainData | flags .5? SecurePlainData | Plaintext verified passport data |
Returns
InputSecureValueGogram Example
// Creating InputSecureValueObj constructor obj := &tg.InputSecureValueObj{ Type: &tg.SecureValueType{}, Data: nil, FrontSide: nil, ReverseSide: nil, Selfie: nil, Translation: nil, // ... more required fields }