SecureValueErrorFiles

class pyrogram.raw.types.SecureValueErrorFiles

Represents an issue with a list of scans. The error is considered resolved when the list of files containing the scans changes.

Constructor of SecureValueError.

Details:
  • Layer: 223

  • ID: 666220E9

Parameters:
  • type (SecureValueType) – One of secureValueTypeUtilityBill, secureValueTypeBankStatement, secureValueTypeRentalAgreement, secureValueTypePassportRegistration, secureValueTypeTemporaryRegistration

  • file_hash (List of bytes) – File hash

  • text (str) – Error message

TL Schema

secureValueErrorFiles#666220e9
type:SecureValueType
file_hash:Vector<bytes>
text:string

= SecureValueError

Parameter Tree

SecureValueErrorFiles
├── typeSecureValueType
│ ├── SecureValueTypePhone
│ └── SecureValueTypeEmail
├── file_hashVector < bytes >
└── textstring

Example

SecureValueErrorFiles(
    type=SecureValueTypePersonalDetails(),
    file_hash=[b"data"],
    text="Open",
)