tgbot-cpp
Loading...
Searching...
No Matches
PassportElementErrorDataField.h
Go to the documentation of this file.
1#ifndef TGBOT_PASSPORTELEMENTERRORDATAFILED_H
2#define TGBOT_PASSPORTELEMENTERRORDATAFILED_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<PassportElementErrorDataField> Ptr;
22
26
30 std::string fieldName;
31
35 std::string dataHash;
36};
37}
38
39#endif //TGBOT_PASSPORTELEMENTERRORDATAFILED_H
Represents an issue in one of the data fields that was provided by the user. The error is considered ...
std::shared_ptr< PassportElementErrorDataField > Ptr
std::string dataHash
Base64-encoded data hash.
std::string fieldName
Name of the data field which has the error.
This abstract class is base of all passport element errors.
std::string source
Error source.
Definition Api.h:40