tgbot-cpp
Loading...
Searching...
No Matches
PassportData.h
Go to the documentation of this file.
1#ifndef TGBOT_CPP_PASSPORTDATA_H
2#define TGBOT_CPP_PASSPORTDATA_H
3
6#include <memory>
7
8namespace TgBot {
9
16
17public:
18 typedef std::shared_ptr<PassportData> Ptr;
19
23 std::vector<EncryptedPassportElement::Ptr> data;
24
29};
30}
31
32#endif //TGBOT_CPP_PASSPORTDATA_H
std::shared_ptr< EncryptedCredentials > Ptr
Contains information about Telegram Passport data shared with the bot by the user.
EncryptedCredentials::Ptr credentials
Encrypted credentials required to decrypt the data.
std::vector< EncryptedPassportElement::Ptr > data
Array with information about documents and other Telegram Passport elements that was shared with the ...
std::shared_ptr< PassportData > Ptr
Definition Api.h:40