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:
223ID:
34636DD8
- Parameters:
type (
SecureValueType) – One of secureValueTypePersonalDetails, secureValueTypePassport, secureValueTypeDriverLicense, secureValueTypeIdentityCard, secureValueTypeInternalPassport, secureValueTypeUtilityBill, secureValueTypeBankStatement, secureValueTypeRentalAgreement, secureValueTypePassportRegistration, secureValueTypeTemporaryRegistrationfile_hash (List of
bytes) – Hashtext (
str) – Error message
TL Schema
secureValueErrorTranslationFiles#34636dd8
type:SecureValueType
file_hash:Vector<bytes>
text:string
= SecureValueError
Parameter Tree
SecureValueErrorTranslationFiles
├── type →
SecureValueType│ ├──
SecureValueTypePassport│ ├──
SecureValueTypeAddress│ ├──
SecureValueTypePhone│ └──
SecureValueTypeEmail├── file_hash →
Vector < bytes >└── text →
stringExample
SecureValueErrorTranslationFiles(
type=SecureValueTypePersonalDetails(),
file_hash=[b"data"],
text="Open",
)