Skip to main content

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

NameTypeRequiredDescription
TypeSecureValueTypeClassyesThe section of the user's Telegram Passport which has the error, one of secureValueTypePersonalDetails, secureValueTypePassport, secureValueTypeDriverLicense, secureValueTypeIdentityCard, secureValueTypeInternalPassport, secureValueTypeAddress
DataHash[]byteyesData hash
FieldstringyesName of the data field which has the error
TextstringyesError message

References