Describes data required for decrypting and authenticating EncryptedPassportElement. See the Telegram Passport Documentation for a complete description of the data decryption and authentication processes.
More...
#include <Types.h>
|
| std::string | data { } |
| | Base64-encoded encrypted JSON-serialized data with unique user's payload, data hashes and secrets required for EncryptedPassportElement decryption and authentication.
|
| std::string | hash { } |
| | Base64-encoded data hash for data authentication.
|
| std::string | secret { } |
| | Base64-encoded secret, encrypted with the bot's public RSA key, required for data decryption.
|
Describes data required for decrypting and authenticating EncryptedPassportElement. See the Telegram Passport Documentation for a complete description of the data decryption and authentication processes.
Definition at line 3380 of file Types.h.
◆ Ptr
◆ data
| std::string TgBot::EncryptedCredentials::data { } |
Base64-encoded encrypted JSON-serialized data with unique user's payload, data hashes and secrets required for EncryptedPassportElement decryption and authentication.
Definition at line 3387 of file Types.h.
◆ hash
| std::string TgBot::EncryptedCredentials::hash { } |
Base64-encoded data hash for data authentication.
Definition at line 3392 of file Types.h.
◆ secret
| std::string TgBot::EncryptedCredentials::secret { } |
Base64-encoded secret, encrypted with the bot's public RSA key, required for data decryption.
Definition at line 3398 of file Types.h.
The documentation for this struct was generated from the following file: