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

Represents an issue with the translated version of a document. The error is considered resolved when a file with the document translation change. More...

#include <PassportElementErrorTranslationFiles.h>

Inheritance diagram for TgBot::PassportElementErrorTranslationFiles:
TgBot::PassportElementError

Public Types

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

Public Member Functions

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

Public Attributes

std::vector< std::string > fileHashes
 List of base64-encoded file hashes.
 
- 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 translated version of a document. The error is considered resolved when a file with the document translation change.

Definition at line 18 of file PassportElementErrorTranslationFiles.h.

Member Typedef Documentation

◆ Ptr

Constructor & Destructor Documentation

◆ PassportElementErrorTranslationFiles()

TgBot::PassportElementErrorTranslationFiles::PassportElementErrorTranslationFiles ( )
inline

Definition at line 24 of file PassportElementErrorTranslationFiles.h.

Member Data Documentation

◆ fileHashes

std::vector<std::string> TgBot::PassportElementErrorTranslationFiles::fileHashes

List of base64-encoded file hashes.

Definition at line 31 of file PassportElementErrorTranslationFiles.h.

◆ SOURCE

const std::string TgBot::PassportElementErrorTranslationFiles::SOURCE
static

Definition at line 20 of file PassportElementErrorTranslationFiles.h.


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