tgbot-cpp
Loading...
Searching...
No Matches
PassportElementErrorUnspecified.h
Go to the documentation of this file.
1
#ifndef TGBOT_PASSPORTELEMENTERRORUNSPECIFIED_H
2
#define TGBOT_PASSPORTELEMENTERRORUNSPECIFIED_H
3
4
#include "
tgbot/types/PassportElementError.h
"
5
6
#include <string>
7
#include <memory>
8
9
namespace
TgBot
{
10
17
class
PassportElementErrorUnspecified
:
public
PassportElementError
{
18
public
:
19
static
const
std::string
SOURCE
;
20
21
typedef
std::shared_ptr<PassportElementErrorUnspecified>
Ptr
;
22
23
PassportElementErrorUnspecified
() {
24
this->
source
=
SOURCE
;
25
}
26
30
std::string
elementHash
;
31
};
32
}
33
34
#endif
//TGBOT_PASSPORTELEMENTERRORUNSPECIFIED_H
PassportElementError.h
TgBot::PassportElementError
This abstract class is base of all passport element errors.
Definition
PassportElementError.h:16
TgBot::PassportElementError::source
std::string source
Error source.
Definition
PassportElementError.h:27
TgBot::PassportElementErrorUnspecified
Represents an issue in an unspecified place. The error is considered resolved when new data is added.
Definition
PassportElementErrorUnspecified.h:17
TgBot::PassportElementErrorUnspecified::elementHash
std::string elementHash
Base64-encoded element hash.
Definition
PassportElementErrorUnspecified.h:30
TgBot::PassportElementErrorUnspecified::Ptr
std::shared_ptr< PassportElementErrorUnspecified > Ptr
Definition
PassportElementErrorUnspecified.h:21
TgBot::PassportElementErrorUnspecified::PassportElementErrorUnspecified
PassportElementErrorUnspecified()
Definition
PassportElementErrorUnspecified.h:23
TgBot::PassportElementErrorUnspecified::SOURCE
static const std::string SOURCE
Definition
PassportElementErrorUnspecified.h:19
TgBot
Definition
Api.h:40
include
tgbot
types
PassportElementErrorUnspecified.h
Generated on Tue Jun 11 2024 00:46:35 for tgbot-cpp by
1.11.0