secureValueErrorData
Represents an issue in one of the data fields that was provided by the user. The error is considered resolved when the field's value changes.
type tg.SecureValueErrorData struct { /* ... */ }
Implements SecureValueError.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
Type | SecureValueTypeClass | yes | The section of the user's Telegram Passport which has the error, one of secureValueTypePersonalDetails, secureValueTypePassport, secureValueTypeDriverLicense, secureValueTypeIdentityCard, secureValueTypeInternalPassport, secureValueTypeAddress |
DataHash | []byte | yes | Data hash |
Field | string | yes | Name of the data field which has the error |
Text | string | yes | Error message |
References
- Official documentation
- Generated Go reference
- TL definition:
secureValueErrorData#e8a40bd9