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