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