users.SetSecureValueErrors
- class pyrogram.raw.functions.users.SetSecureValueErrors
Notify the user that the sent passport data contains some errors The user will not be able to re-submit their Passport data to you until the errors are fixed (the contents of the field for which you returned the error must change).
- Details:
Layer:
223ID:
90C894B5
- Parameters:
id (
InputUser) – The usererrors (List of
SecureValueError) – Errors
- Returns:
bool
TL Schema
users.setSecureValueErrors#90c894b5
id:InputUser
errors:Vector<SecureValueError>
= Bool
Parameter Tree
SetSecureValueErrors
├── id →
InputUser│ ├──
InputUserEmpty│ ├──
InputUserSelf│ ├──
InputUser│ │ ├── user_id →
long│ │ └── access_hash →
long│ └──
InputUserFromMessage│ ├── peer →
InputPeer│ │ ├──
InputPeerEmpty│ │ ├──
InputPeerSelf│ │ ├──
InputPeerChat│ │ ├──
InputPeerUser│ │ ├──
InputPeerChannel│ │ ├──
InputPeerUserFromMessage│ │ └──
InputPeerChannelFromMessage│ ├── msg_id →
int│ └── user_id →
long└── errors →
Vector < SecureValueError >│ ├── type →
SecureValueType│ │ ├──
SecureValueTypePersonalDetails│ │ ├──
SecureValueTypePassport│ │ ├──
SecureValueTypeDriverLicense│ │ ├──
SecureValueTypeIdentityCard│ │ ├──
SecureValueTypeInternalPassport│ │ ├──
SecureValueTypeAddress│ │ ├──
SecureValueTypeUtilityBill│ │ ├──
SecureValueTypeBankStatement│ │ ├──
SecureValueTypeRentalAgreement│ │ ├──
SecureValueTypePhone│ │ └──
SecureValueTypeEmail│ ├── data_hash →
bytes│ ├── field →
string│ └── text →
string│ ├── type →
SecureValueType│ │ ├──
SecureValueTypePersonalDetails│ │ ├──
SecureValueTypePassport│ │ ├──
SecureValueTypeDriverLicense│ │ ├──
SecureValueTypeIdentityCard│ │ ├──
SecureValueTypeInternalPassport│ │ ├──
SecureValueTypeAddress│ │ ├──
SecureValueTypeUtilityBill│ │ ├──
SecureValueTypeBankStatement│ │ ├──
SecureValueTypeRentalAgreement│ │ ├──
SecureValueTypePhone│ │ └──
SecureValueTypeEmail│ ├── file_hash →
bytes│ └── text →
string│ ├── type →
SecureValueType│ │ ├──
SecureValueTypePersonalDetails│ │ ├──
SecureValueTypePassport│ │ ├──
SecureValueTypeDriverLicense│ │ ├──
SecureValueTypeIdentityCard│ │ ├──
SecureValueTypeInternalPassport│ │ ├──
SecureValueTypeAddress│ │ ├──
SecureValueTypeUtilityBill│ │ ├──
SecureValueTypeBankStatement│ │ ├──
SecureValueTypeRentalAgreement│ │ ├──
SecureValueTypePhone│ │ └──
SecureValueTypeEmail│ ├── file_hash →
bytes│ └── text →
string│ ├── type →
SecureValueType│ │ ├──
SecureValueTypePersonalDetails│ │ ├──
SecureValueTypePassport│ │ ├──
SecureValueTypeDriverLicense│ │ ├──
SecureValueTypeIdentityCard│ │ ├──
SecureValueTypeInternalPassport│ │ ├──
SecureValueTypeAddress│ │ ├──
SecureValueTypeUtilityBill│ │ ├──
SecureValueTypeBankStatement│ │ ├──
SecureValueTypeRentalAgreement│ │ ├──
SecureValueTypePhone│ │ └──
SecureValueTypeEmail│ ├── file_hash →
bytes│ └── text →
string│ ├── type →
SecureValueType│ │ ├──
SecureValueTypePersonalDetails│ │ ├──
SecureValueTypePassport│ │ ├──
SecureValueTypeDriverLicense│ │ ├──
SecureValueTypeIdentityCard│ │ ├──
SecureValueTypeInternalPassport│ │ ├──
SecureValueTypeAddress│ │ ├──
SecureValueTypeUtilityBill│ │ ├──
SecureValueTypeBankStatement│ │ ├──
SecureValueTypeRentalAgreement│ │ ├──
SecureValueTypePhone│ │ └──
SecureValueTypeEmail│ ├── file_hash →
bytes│ └── text →
string│ ├── type →
SecureValueType│ │ ├──
SecureValueTypePersonalDetails│ │ ├──
SecureValueTypePassport│ │ ├──
SecureValueTypeDriverLicense│ │ ├──
SecureValueTypeIdentityCard│ │ ├──
SecureValueTypeInternalPassport│ │ ├──
SecureValueTypeAddress│ │ ├──
SecureValueTypeUtilityBill│ │ ├──
SecureValueTypeBankStatement│ │ ├──
SecureValueTypeRentalAgreement│ │ ├──
SecureValueTypePhone│ │ └──
SecureValueTypeEmail│ ├── file_hash →
Vector < bytes >│ └── text →
string├──
SecureValueError│ ├── type →
SecureValueType│ │ ├──
SecureValueTypePersonalDetails│ │ ├──
SecureValueTypePassport│ │ ├──
SecureValueTypeDriverLicense│ │ ├──
SecureValueTypeIdentityCard│ │ ├──
SecureValueTypeInternalPassport│ │ ├──
SecureValueTypeAddress│ │ ├──
SecureValueTypeUtilityBill│ │ ├──
SecureValueTypeBankStatement│ │ ├──
SecureValueTypeRentalAgreement│ │ ├──
SecureValueTypePhone│ │ └──
SecureValueTypeEmail│ ├── hash →
bytes│ └── text →
string│ ├── type →
SecureValueType│ │ ├──
SecureValueTypePersonalDetails│ │ ├──
SecureValueTypePassport│ │ ├──
SecureValueTypeDriverLicense│ │ ├──
SecureValueTypeIdentityCard│ │ ├──
SecureValueTypeInternalPassport│ │ ├──
SecureValueTypeAddress│ │ ├──
SecureValueTypeUtilityBill│ │ ├──
SecureValueTypeBankStatement│ │ ├──
SecureValueTypeRentalAgreement│ │ ├──
SecureValueTypePhone│ │ └──
SecureValueTypeEmail│ ├── file_hash →
bytes│ └── text →
string├── type →
SecureValueType│ ├──
SecureValueTypePassport│ ├──
SecureValueTypeAddress│ ├──
SecureValueTypePhone│ └──
SecureValueTypeEmail├── file_hash →
Vector < bytes >└── text →
stringExample
await app.invoke(
SetSecureValueErrors(
id=await app.resolve_user(chat_id),
errors=[
SecureValueErrorData(
type=SecureValueTypePersonalDetails(),
data_hash=b"data",
field="text",
text="Open"
)
],
)
)