GramIO API Reference / gramio/dist / TelegramPassportElementErrorFrontSide
Interface: TelegramPassportElementErrorFrontSide
Defined in: @gramio/types/out/objects.d.ts:8498
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.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
file_hash | string | Base64-encoded hash of the file with the front side of the document | @gramio/types/out/objects.d.ts:8510 |
message | string | Error message | @gramio/types/out/objects.d.ts:8514 |
source | "front_side" | Error source, must be front_side | @gramio/types/out/objects.d.ts:8502 |
type | TelegramPassportElementErrorFrontSideType | The section of the user's Telegram Passport which has the issue, one of “passport”, “driver_license”, “identity_card”, “internal_passport” | @gramio/types/out/objects.d.ts:8506 |