SecureValueErrorFile

class pyrogram.raw.types.SecureValueErrorFile

Represents an issue with a document scan. The error is considered resolved when the file with the document scan changes.

Constructor of SecureValueError.

Details:
  • Layer: 223

  • ID: 7A700873

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

  • file_hash (bytes) – File hash

  • text (str) – Error message

TL Schema

secureValueErrorFile#7a700873
type:SecureValueType
file_hash:bytes
text:string

= SecureValueError

Parameter Tree

SecureValueErrorFile
├── typeSecureValueType
│ ├── SecureValueTypePhone
│ └── SecureValueTypeEmail
├── file_hashbytes
└── textstring

Example

SecureValueErrorFile(
    type=SecureValueTypePersonalDetails(),
    file_hash=b"data",
    text="Open",
)