PassportData
Describes Telegram Passport data shared with the bot by the user.
fields
| field | type | required | description |
|---|---|---|---|
data | EncryptedPassportElement[] | required | Array with information about documents and other Telegram Passport elements that was shared with the bot |
credentials | EncryptedCredentials | required | Encrypted credentials required to decrypt the data |
import
import type { PassportData } from "@yaebal/types";used by
types
official Bot API docs: https://core.telegram.org/bots/api/#passportdata