secureValue
Secure value
type tg.SecureValue struct { /* ... */ }
Fields
| Name | Type | Required | Description |
|---|---|---|---|
Type | SecureValueTypeClass | yes | Secure passport value type |
Data | SecureData | — | Encrypted Telegram Passport element data |
FrontSide | SecureFileClass | — | Encrypted passport file with the front side of the document |
ReverseSide | SecureFileClass | — | Encrypted passport file with the reverse side of the document |
Selfie | SecureFileClass | — | Encrypted passport file with a selfie of the user holding the document |
Translation | []SecureFileClass | — | Array of encrypted passport files with translated versions of the provided documents |
Files | []SecureFileClass | — | Array of encrypted passport files with photos the of the documents |
PlainData | SecurePlainDataClass | — | Plaintext verified passport data |
Hash | []byte | yes | Data hash |
Returned by
References
- Official documentation
- Generated Go reference
- TL definition:
secureValue#187fa0ca