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.

Constructor schema is available as of layer 81. Switch ยป

Parameters

Name Type Description
type SecureValueType The section of the user's Telegram Passport which has the error, one of secureValueTypePersonalDetails, secureValueTypePassport, secureValueTypeDriverLicense, secureValueTypeIdentityCard, secureValueTypeInternalPassport, secureValueTypeAddress
data_hash bytes Data hash
field string Name of the data field which has the error
text string Error message

Type

SecureValueError

Related pages

secureValueTypePersonalDetails

Personal details

secureValueTypePassport

Passport

secureValueTypeDriverLicense

Driver's license

secureValueTypeIdentityCard

Identity card

secureValueTypeInternalPassport

Internal passport

secureValueTypeAddress

Address