1#ifndef TGBOT_ENCRYPTEDPASSPORTELEMENT_H
2#define TGBOT_ENCRYPTEDPASSPORTELEMENT_H
20 typedef std::shared_ptr<EncryptedPassportElement>
Ptr;
49 std::vector<PassportFile::Ptr>
files;
Describes documents or other Telegram Passport elements shared with the bot by the user.
PassportFile::Ptr reverseSide
Optional. Encrypted file with the reverse side of the document, provided by the user; available only ...
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 only for “utility_b...
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; available onl...
PassportFile::Ptr frontSide
Optional. Encrypted file with the front side of the document, provided by the user; available only fo...
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; availa...
std::shared_ptr< PassportFile > Ptr