Skip to main content
The Deno 2 Release Candidate is here
Learn more
Very Popular
Go to Latest
type alias PassportElementError
Re-export
import { type PassportElementError } from "https://deno.land/x/grammy@v1.15.3/types.deno.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