tgbot-cpp
|
Represents an issue in one of the data fields that was provided by the user. The error is considered resolved when the field's value changes. More...
#include <PassportElementErrorDataField.h>
Public Types | |
typedef std::shared_ptr< PassportElementErrorDataField > | Ptr |
Public Types inherited from TgBot::PassportElementError | |
typedef std::shared_ptr< PassportElementError > | Ptr |
Public Member Functions | |
PassportElementErrorDataField () | |
Public Member Functions inherited from TgBot::PassportElementError | |
PassportElementError () | |
virtual | ~PassportElementError () |
Public Attributes | |
std::string | fieldName |
Name of the data field which has the error. | |
std::string | dataHash |
Base64-encoded data hash. | |
Public Attributes inherited from TgBot::PassportElementError | |
std::string | source |
Error source. | |
std::string | type |
See description of derived classes. Type of element of the user's Telegram Passport which has the issue. | |
std::string | message |
Error message. | |
Static Public Attributes | |
static const std::string | SOURCE |
Represents an issue in one of the data fields that was provided by the user. The error is considered resolved when the field's value changes.
Definition at line 17 of file PassportElementErrorDataField.h.
typedef std::shared_ptr<PassportElementErrorDataField> TgBot::PassportElementErrorDataField::Ptr |
Definition at line 21 of file PassportElementErrorDataField.h.
|
inline |
Definition at line 23 of file PassportElementErrorDataField.h.
std::string TgBot::PassportElementErrorDataField::dataHash |
Base64-encoded data hash.
Definition at line 35 of file PassportElementErrorDataField.h.
std::string TgBot::PassportElementErrorDataField::fieldName |
Name of the data field which has the error.
Definition at line 30 of file PassportElementErrorDataField.h.
|
static |
Definition at line 19 of file PassportElementErrorDataField.h.