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

This abstract class is base of all passport element errors. More...

#include <PassportElementError.h>

Inheritance diagram for TgBot::PassportElementError:
TgBot::PassportElementErrorDataField TgBot::PassportElementErrorFile TgBot::PassportElementErrorFiles TgBot::PassportElementErrorFrontSide TgBot::PassportElementErrorReverseSide TgBot::PassportElementErrorSelfie TgBot::PassportElementErrorTranslationFile TgBot::PassportElementErrorTranslationFiles TgBot::PassportElementErrorUnspecified

Public Types

typedef std::shared_ptr< PassportElementErrorPtr
 

Public Member Functions

 PassportElementError ()
 
virtual ~PassportElementError ()
 

Public Attributes

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.
 

Detailed Description

This abstract class is base of all passport element errors.

This object represents an error in the Telegram Passport element which was submitted that should be resolved by the user.

Definition at line 16 of file PassportElementError.h.

Member Typedef Documentation

◆ Ptr

Definition at line 18 of file PassportElementError.h.

Constructor & Destructor Documentation

◆ PassportElementError()

TgBot::PassportElementError::PassportElementError ( )
inline

Definition at line 20 of file PassportElementError.h.

◆ ~PassportElementError()

virtual TgBot::PassportElementError::~PassportElementError ( )
inlinevirtual

Definition at line 22 of file PassportElementError.h.

Member Data Documentation

◆ message

std::string TgBot::PassportElementError::message

Error message.

Definition at line 38 of file PassportElementError.h.

◆ source

std::string TgBot::PassportElementError::source

Error source.

Definition at line 27 of file PassportElementError.h.

◆ type

std::string TgBot::PassportElementError::type

See description of derived classes. Type of element of the user's Telegram Passport which has the issue.

Definition at line 33 of file PassportElementError.h.


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