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
5
6#include <string>
7#include <memory>
8
9namespace TgBot {
10
18public:
19 static const std::string SOURCE;
20
21 typedef std::shared_ptr<PassportElementErrorFrontSide> Ptr;
22
26
30 std::string fileHash;
31};
32}
33
34#endif //TGBOT_PASSPORTELEMENTERRORFRONTSIDE_H
Represents an issue with the front side of a document. The error is considered resolved when the file...
std::string fileHash
Base64-encoded hash of the file with the front side of the document.
std::shared_ptr< PassportElementErrorFrontSide > Ptr
This abstract class is base of all passport element errors.
std::string source
Error source.
Definition Api.h:39