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 type of SecureValueError.

Details
  • Layer: 126

  • ID: 0xe8a40bd9

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.