Module

x/grammy_types/mod.ts>PassportElementErrorFrontSide

Type declarations of the Telegram Bot API.
Latest
interface PassportElementErrorFrontSide
import { type PassportElementErrorFrontSide } from "https://dotland.deno.dev/x/grammy_types@v3.15.0/mod.ts";

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

source: "front_side"

Error source, must be front_side

type:
| "passport"
| "driver_license"
| "identity_card"
| "internal_passport"

The section of the user's Telegram Passport which has the issue, one of “passport”, “driver_license”, “identity_card”, “internal_passport”

file_hash: string

Base64-encoded hash of the file with the front side of the document

message: string

Error message