tgbot-cpp
Loading...
Searching...
No Matches
PassportElementErrorDataField.h
Go to the documentation of this file.
1
#ifndef TGBOT_PASSPORTELEMENTERRORDATAFILED_H
2
#define TGBOT_PASSPORTELEMENTERRORDATAFILED_H
3
4
#include "
tgbot/types/PassportElementError.h
"
5
6
#include <string>
7
#include <memory>
8
9
namespace
TgBot
{
10
17
class
PassportElementErrorDataField
:
public
PassportElementError
{
18
public
:
19
static
const
std::string
SOURCE
;
20
21
typedef
std::shared_ptr<PassportElementErrorDataField>
Ptr
;
22
23
PassportElementErrorDataField
() {
24
this->
source
=
SOURCE
;
25
}
26
30
std::string
fieldName
;
31
35
std::string
dataHash
;
36
};
37
}
38
39
#endif
//TGBOT_PASSPORTELEMENTERRORDATAFILED_H
PassportElementError.h
TgBot::PassportElementErrorDataField::Ptr
std::shared_ptr< PassportElementErrorDataField > Ptr
Definition
PassportElementErrorDataField.h:21
TgBot::PassportElementErrorDataField::PassportElementErrorDataField
PassportElementErrorDataField()
Definition
PassportElementErrorDataField.h:23
TgBot::PassportElementErrorDataField::dataHash
std::string dataHash
Base64-encoded data hash.
Definition
PassportElementErrorDataField.h:35
TgBot::PassportElementErrorDataField::fieldName
std::string fieldName
Name of the data field which has the error.
Definition
PassportElementErrorDataField.h:30
TgBot::PassportElementErrorDataField::SOURCE
static const std::string SOURCE
Definition
PassportElementErrorDataField.h:19
TgBot::PassportElementError::PassportElementError
PassportElementError()
Definition
PassportElementError.h:20
TgBot::PassportElementError::source
std::string source
Error source.
Definition
PassportElementError.h:27
TgBot
Definition
Api.h:40
include
tgbot
types
PassportElementErrorDataField.h
Generated on
for tgbot-cpp by
1.14.0