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

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

#include <PassportElementErrorFrontSide.h>

Inheritance diagram for TgBot::PassportElementErrorFrontSide:
TgBot::PassportElementError

Public Types

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

Public Member Functions

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

Public Attributes

std::string fileHash
 Base64-encoded hash of the file with the front side of the document.
 
- 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 front side of a document. The error is considered resolved when the file with the front side of the document changes.

Definition at line 17 of file PassportElementErrorFrontSide.h.

Member Typedef Documentation

◆ Ptr

Constructor & Destructor Documentation

◆ PassportElementErrorFrontSide()

TgBot::PassportElementErrorFrontSide::PassportElementErrorFrontSide ( )
inline

Definition at line 23 of file PassportElementErrorFrontSide.h.

Member Data Documentation

◆ fileHash

std::string TgBot::PassportElementErrorFrontSide::fileHash

Base64-encoded hash of the file with the front side of the document.

Definition at line 30 of file PassportElementErrorFrontSide.h.

◆ SOURCE

const std::string TgBot::PassportElementErrorFrontSide::SOURCE
static

Definition at line 19 of file PassportElementErrorFrontSide.h.


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