tgbot-cpp
Loading...
Searching...
No Matches
TgBot::PassportData Class Reference

Contains information about Telegram Passport data shared with the bot by the user. More...

#include <PassportData.h>

Public Types

typedef std::shared_ptr< PassportDataPtr
 

Public Attributes

std::vector< EncryptedPassportElement::Ptrdata
 Array with information about documents and other Telegram Passport elements that was shared with the bot.
 
EncryptedCredentials::Ptr credentials
 Encrypted credentials required to decrypt the data.
 

Detailed Description

Contains information about Telegram Passport data shared with the bot by the user.

Definition at line 15 of file PassportData.h.

Member Typedef Documentation

◆ Ptr

typedef std::shared_ptr<PassportData> TgBot::PassportData::Ptr

Definition at line 18 of file PassportData.h.

Member Data Documentation

◆ credentials

EncryptedCredentials::Ptr TgBot::PassportData::credentials

Encrypted credentials required to decrypt the data.

Definition at line 28 of file PassportData.h.

◆ data

std::vector<EncryptedPassportElement::Ptr> TgBot::PassportData::data

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

Definition at line 23 of file PassportData.h.


The documentation for this class was generated from the following file: