Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/grammy_types/passport.ts>PassportElementErrorReverseSide

Type declarations of the Telegram Bot API.
Latest
interface PassportElementErrorReverseSide
import { type PassportElementErrorReverseSide } from "https://deno.land/x/grammy_types@v3.16.0/passport.ts";

Represents an issue with the reverse side of a document. The error is considered resolved when the file with reverse side of the document changes.

Properties

source: "reverse_side"

Error source, must be reverse_side

type: "driver_license" | "identity_card"

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

file_hash: string

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

message: string

Error message