tgbot-cpp
Loading...
Searching...
No Matches
PassportElementErrorFile.h
Go to the documentation of this file.
1#ifndef TGBOT_PASSPORTELEMENTERRORFILE_H
2#define TGBOT_PASSPORTELEMENTERRORFILE_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<PassportElementErrorFile> Ptr;
22
26
30 std::string fileHash;
31};
32}
33
34#endif //TGBOT_PASSPORTELEMENTERRORFILE_H
Represents an issue with a document scan. The error is considered resolved when the file with the doc...
std::shared_ptr< PassportElementErrorFile > Ptr
std::string fileHash
Base64-encoded file hash.
This abstract class is base of all passport element errors.
std::string source
Error source.
Definition Api.h:40