tgbot-cpp
Loading...
Searching...
No Matches
PassportElementErrorUnspecified.h
Go to the documentation of this file.
1#ifndef TGBOT_PASSPORTELEMENTERRORUNSPECIFIED_H
2#define TGBOT_PASSPORTELEMENTERRORUNSPECIFIED_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<PassportElementErrorUnspecified> Ptr;
22
26
30 std::string elementHash;
31};
32}
33
34#endif //TGBOT_PASSPORTELEMENTERRORUNSPECIFIED_H
This abstract class is base of all passport element errors.
std::string source
Error source.
Represents an issue in an unspecified place. The error is considered resolved when new data is added.
std::string elementHash
Base64-encoded element hash.
std::shared_ptr< PassportElementErrorUnspecified > Ptr
Definition Api.h:40