1#ifndef TGBOT_CPP_ENCRYPTEDPASSPORTELEMENT_H
2#define TGBOT_CPP_ENCRYPTEDPASSPORTELEMENT_H
20 typedef std::shared_ptr<EncryptedPassportElement>
Ptr;
48 std::vector<PassportFile::Ptr>
files;
Contains information about documents or other Telegram Passport elements shared with the bot by the u...
PassportFile::Ptr reverseSide
Optional. Encrypted file with the reverse side of the document, provided by the user....
std::string email
Optional. User's verified email address, available only for “email” type.
std::vector< PassportFile::Ptr > files
Optional. Array of encrypted files with documents provided by the user, available for “utility_bill”,...
std::shared_ptr< EncryptedPassportElement > Ptr
PassportFile::Ptr selfie
Optional. Encrypted file with the selfie of the user holding a document, provided by the user; availa...
std::string phoneNumber
Optional. User's verified phone number, available only for “phone_number” type.
std::string type
Element type. One of “personal_details”, “passport”, “driver_license”, “identity_card”,...
std::string data
Optional. Base64-encoded encrypted Telegram Passport element data provided by the user,...
PassportFile::Ptr frontSide
Optional. Encrypted file with the front side of the document, provided by the user....
std::string hash
Base64-encoded element hash for using in PassportElementErrorUnspecified.
std::vector< PassportFile::Ptr > translation
Optional. Array of encrypted files with translated versions of documents provided by the user....
std::shared_ptr< PassportFile > Ptr