GramIO API Reference / gramio/dist / TelegramPassportElementErrorSelfie
Interface: TelegramPassportElementErrorSelfie
Defined in: @gramio/types/out/objects.d.ts:8728
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:8740 |
message | string | Error message | @gramio/types/out/objects.d.ts:8744 |
source | "selfie" | Error source, must be selfie | @gramio/types/out/objects.d.ts:8732 |
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:8736 |