tgbot-cpp
Loading...
Searching...
No Matches
PassportElementErrorReverseSide.h
Go to the documentation of this file.
1
#ifndef TGBOT_PASSPORTELEMENTERRORREVERSESIDE_H
2
#define TGBOT_PASSPORTELEMENTERRORREVERSESIDE_H
3
4
#include "
tgbot/types/PassportElementError.h
"
5
6
#include <string>
7
#include <memory>
8
9
namespace
TgBot
{
10
17
class
PassportElementErrorReverseSide
:
public
PassportElementError
{
18
public
:
19
static
const
std::string
SOURCE
;
20
21
typedef
std::shared_ptr<PassportElementErrorReverseSide>
Ptr
;
22
23
PassportElementErrorReverseSide
() {
24
this->
source
=
SOURCE
;
25
}
26
30
std::string
fileHash
;
31
};
32
}
33
34
#endif
//TGBOT_PASSPORTELEMENTERRORREVERSESIDE_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::PassportElementErrorReverseSide
Represents an issue with the reverse side of a document. The error is considered resolved when the fi...
Definition
PassportElementErrorReverseSide.h:17
TgBot::PassportElementErrorReverseSide::PassportElementErrorReverseSide
PassportElementErrorReverseSide()
Definition
PassportElementErrorReverseSide.h:23
TgBot::PassportElementErrorReverseSide::SOURCE
static const std::string SOURCE
Definition
PassportElementErrorReverseSide.h:19
TgBot::PassportElementErrorReverseSide::Ptr
std::shared_ptr< PassportElementErrorReverseSide > Ptr
Definition
PassportElementErrorReverseSide.h:21
TgBot::PassportElementErrorReverseSide::fileHash
std::string fileHash
Base64-encoded hash of the file with the reverse side of the document.
Definition
PassportElementErrorReverseSide.h:30
TgBot
Definition
Api.h:40
include
tgbot
types
PassportElementErrorReverseSide.h
Generated on Tue Jun 11 2024 00:46:35 for tgbot-cpp by
1.11.0