tgbot-cpp
Loading...
Searching...
No Matches
PassportElementErrorFrontSide.h
Go to the documentation of this file.
1
#ifndef TGBOT_PASSPORTELEMENTERRORFRONTSIDE_H
2
#define TGBOT_PASSPORTELEMENTERRORFRONTSIDE_H
3
4
#include "
tgbot/types/PassportElementError.h
"
5
6
#include <string>
7
#include <memory>
8
9
namespace
TgBot
{
10
17
class
PassportElementErrorFrontSide
:
public
PassportElementError
{
18
public
:
19
static
const
std::string
SOURCE
;
20
21
typedef
std::shared_ptr<PassportElementErrorFrontSide>
Ptr
;
22
23
PassportElementErrorFrontSide
() {
24
this->
source
=
SOURCE
;
25
}
26
30
std::string
fileHash
;
31
};
32
}
33
34
#endif
//TGBOT_PASSPORTELEMENTERRORFRONTSIDE_H
PassportElementError.h
TgBot::PassportElementErrorFrontSide::PassportElementErrorFrontSide
PassportElementErrorFrontSide()
Definition
PassportElementErrorFrontSide.h:23
TgBot::PassportElementErrorFrontSide::fileHash
std::string fileHash
Base64-encoded hash of the file with the front side of the document.
Definition
PassportElementErrorFrontSide.h:30
TgBot::PassportElementErrorFrontSide::SOURCE
static const std::string SOURCE
Definition
PassportElementErrorFrontSide.h:19
TgBot::PassportElementErrorFrontSide::Ptr
std::shared_ptr< PassportElementErrorFrontSide > Ptr
Definition
PassportElementErrorFrontSide.h:21
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
PassportElementErrorFrontSide.h
Generated on
for tgbot-cpp by
1.14.0