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
7
namespace
TgBot
{
8
16
class
PassportElementError
{
17
public
:
18
typedef
std::shared_ptr<PassportElementError>
Ptr
;
19
20
PassportElementError
() { }
21
22
virtual
~PassportElementError
() { }
23
27
std::string
source
;
28
33
std::string
type
;
34
38
std::string
message
;
39
};
40
}
41
42
#endif
//TGBOT_PASSPORTELEMENTERROR_H
TgBot::PassportElementError
This abstract class is base of all passport element errors.
Definition
PassportElementError.h:16
TgBot::PassportElementError::type
std::string type
See description of derived classes. Type of element of the user's Telegram Passport which has the iss...
Definition
PassportElementError.h:33
TgBot::PassportElementError::PassportElementError
PassportElementError()
Definition
PassportElementError.h:20
TgBot::PassportElementError::~PassportElementError
virtual ~PassportElementError()
Definition
PassportElementError.h:22
TgBot::PassportElementError::Ptr
std::shared_ptr< PassportElementError > Ptr
Definition
PassportElementError.h:18
TgBot::PassportElementError::source
std::string source
Error source.
Definition
PassportElementError.h:27
TgBot::PassportElementError::message
std::string message
Error message.
Definition
PassportElementError.h:38
TgBot
Definition
Api.h:40
include
tgbot
types
PassportElementError.h
Generated on Tue Jun 11 2024 00:46:35 for tgbot-cpp by
1.11.0