tgbot-cpp
Loading...
Searching...
No Matches
PassportElementError.h
Go to the documentation of this file.
1#ifndef TGBOT_PASSPORTELEMENTERROR_H
2#define TGBOT_PASSPORTELEMENTERROR_H
3
4#include <memory>
5#include <string>
6
7namespace TgBot {
8
17public:
18 typedef std::shared_ptr<PassportElementError> Ptr;
19
21
23
27 std::string source;
28
33 std::string type;
34
38 std::string message;
39};
40}
41
42#endif //TGBOT_PASSPORTELEMENTERROR_H
This abstract class is base of all passport element errors.
std::string type
See description of derived classes. Type of element of the user's Telegram Passport which has the iss...
std::shared_ptr< PassportElementError > Ptr
std::string source
Error source.
std::string message
Error message.
Definition Api.h:39