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

Represents an issue with one of the files that constitute the translation of a document. The error is considered resolved when the file changes. More...

#include <PassportElementErrorTranslationFile.h>

Inheritance diagram for TgBot::PassportElementErrorTranslationFile:
TgBot::PassportElementError

Public Types

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

Public Member Functions

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

Public Attributes

std::string fileHash
 Base64-encoded file 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 with one of the files that constitute the translation of a document. The error is considered resolved when the file changes.

Definition at line 17 of file PassportElementErrorTranslationFile.h.

Member Typedef Documentation

◆ Ptr

Constructor & Destructor Documentation

◆ PassportElementErrorTranslationFile()

TgBot::PassportElementErrorTranslationFile::PassportElementErrorTranslationFile ( )
inline

Definition at line 23 of file PassportElementErrorTranslationFile.h.

Member Data Documentation

◆ fileHash

std::string TgBot::PassportElementErrorTranslationFile::fileHash

Base64-encoded file hash.

Definition at line 30 of file PassportElementErrorTranslationFile.h.

◆ SOURCE

const std::string TgBot::PassportElementErrorTranslationFile::SOURCE
static

Definition at line 19 of file PassportElementErrorTranslationFile.h.


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