telegramx.js

PassportData

interface

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

Declaration

interface PassportData 

Properties

credentialsproperty#
credentials: EncryptedCredentials;

Encrypted credentials required to decrypt the data

dataproperty#

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