SecureValueErrorFrontSide

class pyrogram.raw.types.SecureValueErrorFrontSide

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

Constructor of SecureValueError.

Details:
  • Layer: 223

  • ID: BE3DFA

Parameters:
  • type (SecureValueType) – One of secureValueTypePassport, secureValueTypeDriverLicense, secureValueTypeIdentityCard, secureValueTypeInternalPassport

  • file_hash (bytes) – File hash

  • text (str) – Error message

TL Schema

secureValueErrorFrontSide#be3dfa
type:SecureValueType
file_hash:bytes
text:string

= SecureValueError

Parameter Tree

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

Example

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