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

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

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<PassportData>

Public Attributes

std::vector< std::shared_ptr< EncryptedPassportElement > > data { }
 Array with information about documents and other Telegram Passport elements that was shared with the bot.
std::shared_ptr< EncryptedCredentialscredentials { }
 Encrypted credentials required to decrypt the data.

Detailed Description

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

Definition at line 10343 of file Types.h.

Member Typedef Documentation

◆ Ptr

using TgBot::PassportData::Ptr = std::shared_ptr<PassportData>

Definition at line 10344 of file Types.h.

Member Data Documentation

◆ credentials

std::shared_ptr<EncryptedCredentials> TgBot::PassportData::credentials { }

Encrypted credentials required to decrypt the data.

Definition at line 10355 of file Types.h.

◆ data

std::vector<std::shared_ptr<EncryptedPassportElement> > TgBot::PassportData::data { }

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

Definition at line 10350 of file Types.h.


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