1#ifndef TGBOT_CPP_ENCRYPTEDCREDENTIALS_H
2#define TGBOT_CPP_ENCRYPTEDCREDENTIALS_H
18 typedef std::shared_ptr<EncryptedCredentials>
Ptr;
Contains data required for decrypting and authenticating EncryptedPassportElement....
std::string data
Base64-encoded encrypted JSON-serialized data with unique user's payload, data hashes and secrets req...
std::string hash
Base64-encoded data hash for data authentication.
std::shared_ptr< EncryptedCredentials > Ptr
std::string secret
Base64-encoded secret, encrypted with the bot's public RSA key, required for data decryption.