SecureValueErrorTranslationFiles

class pyrogram.raw.types.SecureValueErrorTranslationFiles

Represents an issue with the translated version of a document. The error is considered resolved when a file with the document translation changes.

Constructor of SecureValueError.

Details:
  • Layer: 223

  • ID: 34636DD8

Parameters:
  • type (SecureValueType) – One of secureValueTypePersonalDetails, secureValueTypePassport, secureValueTypeDriverLicense, secureValueTypeIdentityCard, secureValueTypeInternalPassport, secureValueTypeUtilityBill, secureValueTypeBankStatement, secureValueTypeRentalAgreement, secureValueTypePassportRegistration, secureValueTypeTemporaryRegistration

  • file_hash (List of bytes) – Hash

  • text (str) – Error message

TL Schema

secureValueErrorTranslationFiles#34636dd8
type:SecureValueType
file_hash:Vector<bytes>
text:string

= SecureValueError

Parameter Tree

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

Example

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