- class telegram.PassportData(*args, **kwargs)#
Contains information about Telegram Passport data shared with the bot by the user.
To be able to decrypt this object, you must pass your
telegram.Bot. Decrypted data is then found in
decrypted_dataand the payload can be found in
Array with encrypted information about documents and other Telegram Passport elements that was shared with the bot.
- property decrypted_credentials#
- Lazily decrypt and return credentials that were used
to decrypt the data. This object also contains the user specified payload as decrypted_data.payload.
- property decrypted_data#
- Lazily decrypt and return information
about documents and other Telegram Passport elements which were shared with the bot.