Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/grammy_types/passport.ts>PassportElementErrorSelfie

Type declarations of the Telegram Bot API.
Very Popular
Go to Latest
interface PassportElementErrorSelfie
import { type PassportElementErrorSelfie } from "https://deno.land/x/grammy_types@v3.6.2/passport.ts";

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

Properties

source: "selfie"

Error source, must be selfie

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 selfie

message: string

Error message