Constructor: secureValueErrorData

Back to constructors index

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.


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

Type: SecureValueError


$secureValueErrorData = ['_' => 'secureValueErrorData', 'type' => SecureValueType, 'data_hash' => 'bytes', 'field' => 'string', 'text' => 'string'];

Or, if you’re into Lua:

secureValueErrorData={_='secureValueErrorData', type=SecureValueType, data_hash='bytes', field='string', text='string'}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.