GramIO API Reference / gramio/dist / TelegramPassportElementErrorDataField
Interface: TelegramPassportElementErrorDataField
Defined in: @gramio/types/out/objects.d.ts:8464
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.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
data_hash | string | Base64-encoded data hash | @gramio/types/out/objects.d.ts:8480 |
field_name | string | Name of the data field which has the error | @gramio/types/out/objects.d.ts:8476 |
message | string | Error message | @gramio/types/out/objects.d.ts:8484 |
source | "data" | Error source, must be data | @gramio/types/out/objects.d.ts:8468 |
type | TelegramPassportElementErrorDataFieldType | The section of the user's Telegram Passport which has the error, one of “personal_details”, “passport”, “driver_license”, “identity_card”, “internal_passport”, “address” | @gramio/types/out/objects.d.ts:8472 |