mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-04 02:28:31 +01:00
32 lines
1.4 KiB
Markdown
32 lines
1.4 KiB
Markdown
---
|
|
title: "secureValueErrorFrontSide"
|
|
description: "Represents an issue with the front side of a document. The error is considered resolved when the file with the front side of the document changes."
|
|
nav_exclude: true
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
---
|
|
# Constructor: secureValueErrorFrontSide
|
|
[Back to constructors index](/API_docs/constructors/index.html)
|
|
|
|
|
|
|
|
Represents an issue with the front side of a document. The error is considered resolved when the file with the front side of the document changes.
|
|
|
|
### Attributes:
|
|
|
|
| Name | Type | Required | Description |
|
|
|----------|---------------|----------|-------------|
|
|
|type|[SecureValueType](/API_docs/types/SecureValueType.html) | Yes|One of [secureValueTypePassport](../constructors/secureValueTypePassport.html), [secureValueTypeDriverLicense](../constructors/secureValueTypeDriverLicense.html), [secureValueTypeIdentityCard](../constructors/secureValueTypeIdentityCard.html), [secureValueTypeInternalPassport](../constructors/secureValueTypeInternalPassport.html)|
|
|
|file\_hash|[bytes](/API_docs/types/bytes.html) | Yes|File hash|
|
|
|text|[string](/API_docs/types/string.html) | Yes|Error message|
|
|
|
|
|
|
|
|
### Type: [SecureValueError](/API_docs/types/SecureValueError.html)
|
|
|
|
|
|
### Example:
|
|
|
|
```
|
|
$secureValueErrorFrontSide = ['_' => 'secureValueErrorFrontSide', 'type' => SecureValueType, 'file_hash' => 'bytes', 'text' => 'string'];
|
|
```
|