tgbot-cpp
Loading...
Searching...
No Matches
PassportElementErrorTranslationFiles.h
Go to the documentation of this file.
1#ifndef TGBOT_PASSPORTELEMENTERRORTRANSLATIONFILES_H
2#define TGBOT_PASSPORTELEMENTERRORTRANSLATIONFILES_H
3
5
6#include <string>
7#include <memory>
8#include <vector>
9
10namespace TgBot {
11
19public:
20 static const std::string SOURCE;
21
22 typedef std::shared_ptr<PassportElementErrorTranslationFiles> Ptr;
23
27
31 std::vector<std::string> fileHashes;
32};
33}
34
35#endif //TGBOT_PASSPORTELEMENTERRORTRANSLATIONFILES_H
This abstract class is base of all passport element errors.
std::string source
Error source.
Represents an issue with the translated version of a document. The error is considered resolved when ...
std::vector< std::string > fileHashes
List of base64-encoded file hashes.
std::shared_ptr< PassportElementErrorTranslationFiles > Ptr
Definition Api.h:39