tgbot-cpp
|
This abstract class is base of all passport element errors. More...
#include <PassportElementError.h>
Public Types | |
typedef std::shared_ptr< PassportElementError > | Ptr |
Public Member Functions | |
PassportElementError () | |
virtual | ~PassportElementError () |
Public Attributes | |
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. | |
This abstract class is base of all passport element errors.
This object represents an error in the Telegram Passport element which was submitted that should be resolved by the user.
Definition at line 16 of file PassportElementError.h.
typedef std::shared_ptr<PassportElementError> TgBot::PassportElementError::Ptr |
Definition at line 18 of file PassportElementError.h.
|
inline |
Definition at line 20 of file PassportElementError.h.
|
inlinevirtual |
Definition at line 22 of file PassportElementError.h.
std::string TgBot::PassportElementError::message |
Error message.
Definition at line 38 of file PassportElementError.h.
std::string TgBot::PassportElementError::source |
Error source.
Definition at line 27 of file PassportElementError.h.
std::string TgBot::PassportElementError::type |
See description of derived classes. Type of element of the user's Telegram Passport which has the issue.
Definition at line 33 of file PassportElementError.h.