SecureValueErrorTranslationFile
- class pyrogram.raw.types.SecureValueErrorTranslationFile
Represents an issue with one of the files that constitute the translation of a document. The error is considered resolved when the file changes.
Constructor of
SecureValueError.- Details:
Layer:
223ID:
A1144770
- Parameters:
type (
SecureValueType) – One of secureValueTypePersonalDetails, secureValueTypePassport, secureValueTypeDriverLicense, secureValueTypeIdentityCard, secureValueTypeInternalPassport, secureValueTypeUtilityBill, secureValueTypeBankStatement, secureValueTypeRentalAgreement, secureValueTypePassportRegistration, secureValueTypeTemporaryRegistrationfile_hash (
bytes) – File hashtext (
str) – Error message
TL Schema
secureValueErrorTranslationFile#a1144770
type:SecureValueType
file_hash:bytes
text:string
= SecureValueError
Parameter Tree
SecureValueErrorTranslationFile
├── type →
SecureValueType│ ├──
SecureValueTypePassport│ ├──
SecureValueTypeAddress│ ├──
SecureValueTypePhone│ └──
SecureValueTypeEmail├── file_hash →
bytes└── text →
stringExample
SecureValueErrorTranslationFile(
type=SecureValueTypePersonalDetails(),
file_hash=b"data",
text="Open",
)