tgbot-cpp
Loading...
Searching...
No Matches
TgBot::PassportElementErrorSelfie Class Reference

Represents an issue with the selfie with a document. The error is considered resolved when the file with the selfie changes. More...

#include <PassportElementErrorSelfie.h>

Inheritance diagram for TgBot::PassportElementErrorSelfie:
TgBot::PassportElementError

Public Types

typedef std::shared_ptr< PassportElementErrorSelfiePtr
 
- Public Types inherited from TgBot::PassportElementError
typedef std::shared_ptr< PassportElementErrorPtr
 

Public Member Functions

 PassportElementErrorSelfie ()
 
- Public Member Functions inherited from TgBot::PassportElementError
 PassportElementError ()
 
virtual ~PassportElementError ()
 

Public Attributes

std::string fileHash
 Base64-encoded hash of the file with the selfie.
 
- Public Attributes inherited from TgBot::PassportElementError
std::string source
 Error source.
 
std::string type
 See description of derived classes. Type of element of the user's Telegram Passport which has the issue.
 
std::string message
 Error message.
 

Static Public Attributes

static const std::string SOURCE
 

Detailed Description

Represents an issue with the selfie with a document. The error is considered resolved when the file with the selfie changes.

Definition at line 17 of file PassportElementErrorSelfie.h.

Member Typedef Documentation

◆ Ptr

Constructor & Destructor Documentation

◆ PassportElementErrorSelfie()

TgBot::PassportElementErrorSelfie::PassportElementErrorSelfie ( )
inline

Definition at line 23 of file PassportElementErrorSelfie.h.

Member Data Documentation

◆ fileHash

std::string TgBot::PassportElementErrorSelfie::fileHash

Base64-encoded hash of the file with the selfie.

Definition at line 30 of file PassportElementErrorSelfie.h.

◆ SOURCE

const std::string TgBot::PassportElementErrorSelfie::SOURCE
static

Definition at line 19 of file PassportElementErrorSelfie.h.


The documentation for this class was generated from the following file: