PassportElementErrorSelfie
Represents an issue with the selfie with a document. The error is considered resolved when the file with the selfie changes.
fields
| field | type | required | description |
|---|---|---|---|
source | string | required | Error source, must be selfie |
type | "passport" | "driver_license" | "identity_card" | "internal_passport" | required | The section of the user's Telegram Passport which has the issue, one of “passport”, “driver_license”, “identity_card”, “internal_passport” |
file_hash | string | required | Base64-encoded hash of the file with the selfie |
message | string | required | Error message |
import
import type { PassportElementErrorSelfie } from "@yaebal/types";used by
types
official Bot API docs: https://core.telegram.org/bots/api/#passportelementerrorselfie