PassportElementErrorFrontSide
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.
fields
| field | type | required | description |
|---|---|---|---|
source | string | required | Error source, must be front_side |
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 front side of the document |
message | string | required | Error message |
import
import type { PassportElementErrorFrontSide } from "@yaebal/types";used by
types
official Bot API docs: https://core.telegram.org/bots/api/#passportelementerrorfrontside