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

x/grammy_types/passport.ts>PassportData

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

Describes Telegram Passport data shared with the bot by the user.

Properties

Array with information about documents and other Telegram Passport elements that was shared with the bot

Encrypted credentials required to decrypt the data