Module

x/grammy/types.ts>PassportElementError

The Telegram Bot Framework.
Very Popular
Go to Latest
type alias PassportElementError
import { type PassportElementError } from "https://dotland.deno.dev/x/grammy@v1.31.1/types.ts";

This object represents an error in the Telegram Passport element which was submitted that should be resolved by the user. It should be one of:

  • PassportElementErrorDataField
  • PassportElementErrorFrontSide
  • PassportElementErrorReverseSide
  • PassportElementErrorSelfie
  • PassportElementErrorFile
  • PassportElementErrorFiles
  • PassportElementErrorTranslationFile
  • PassportElementErrorTranslationFiles
  • PassportElementErrorUnspecified
import PassportElementError
import { PassportElementError } from "https://dotland.deno.dev/x/grammy@v1.31.1/types.ts";