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

Represents an issue in one of the data fields that was provided by the user. The error is considered resolved when the field's value changes. More...

#include <PassportElementErrorDataField.h>

Inheritance diagram for TgBot::PassportElementErrorDataField:
TgBot::PassportElementError

Public Types

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

Public Member Functions

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

Public Attributes

std::string fieldName
 Name of the data field which has the error.
 
std::string dataHash
 Base64-encoded data hash.
 
- 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 in one of the data fields that was provided by the user. The error is considered resolved when the field's value changes.

Definition at line 17 of file PassportElementErrorDataField.h.

Member Typedef Documentation

◆ Ptr

Constructor & Destructor Documentation

◆ PassportElementErrorDataField()

TgBot::PassportElementErrorDataField::PassportElementErrorDataField ( )
inline

Definition at line 23 of file PassportElementErrorDataField.h.

Member Data Documentation

◆ dataHash

std::string TgBot::PassportElementErrorDataField::dataHash

Base64-encoded data hash.

Definition at line 35 of file PassportElementErrorDataField.h.

◆ fieldName

std::string TgBot::PassportElementErrorDataField::fieldName

Name of the data field which has the error.

Definition at line 30 of file PassportElementErrorDataField.h.

◆ SOURCE

const std::string TgBot::PassportElementErrorDataField::SOURCE
static

Definition at line 19 of file PassportElementErrorDataField.h.


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