GramIO API Reference / gramio/dist / TelegramPassportElementErrorSelfie
Interface: TelegramPassportElementErrorSelfie
Defined in: @gramio/types/out/objects.d.ts:8556
Represents an issue with the selfie with a document. The error is considered resolved when the file with the selfie changes.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
file_hash | string | Base64-encoded hash of the file with the selfie | @gramio/types/out/objects.d.ts:8568 |
message | string | Error message | @gramio/types/out/objects.d.ts:8572 |
source | "selfie" | Error source, must be selfie | @gramio/types/out/objects.d.ts:8560 |
type | TelegramPassportElementErrorSelfieType | 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:8564 |