SecureValueErrorData#

class pyrogram.raw.types.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 of SecureValueError.

Details:
  • Layer: 158

  • ID: E8A40BD9

Parameters:
  • 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 (str) – Name of the data field which has the error.

  • text (str) – Error message.