mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
1.7 KiB
1.7 KiB
title | description | nav_exclude | image |
---|---|---|---|
secureValueErrorData | Represents an issue in one of the data fields that was provided by the user. The error is considered resolved when the field's value changes. | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: secureValueErrorData
Represents an issue in one of the data fields that was provided by the user. The error is considered resolved when the field's value changes.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
type | SecureValueType | Yes | The section of the user's Telegram Passport which has the error, one of secureValueTypePersonalDetails, secureValueTypePassport, secureValueTypeDriverLicense, secureValueTypeIdentityCard, secureValueTypeInternalPassport, secureValueTypeAddress |
data_hash | bytes | Yes | Data hash |
field | string | Yes | Name of the data field which has the error |
text | string | Yes | Error message |
Type: SecureValueError
Example:
$secureValueErrorData = ['_' => 'secureValueErrorData', 'type' => SecureValueType, 'data_hash' => 'bytes', 'field' => 'string', 'text' => 'string'];