tgbot-cpp
Loading...
Searching...
No Matches
TgBot::PassportElementErrorTranslationFiles Struct 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 <Types.h>

Public Types

using Ptr = std::shared_ptr<PassportElementErrorTranslationFiles>

Public Attributes

std::string source { SOURCE }
 Error source, must be translation_files.
std::string type { }
 Type of element of the user's Telegram Passport which has the issue, one of “passport”, “driver_license”, “identity_card”, “internal_passport”, “utility_bill”, “bank_statement”, “rental_agreement”, “passport_registration”, “temporary_registration”
std::vector< std::string > fileHashes { }
 List of base64-encoded file hashes.
std::string message { }
 Error message.

Static Public Attributes

static TGBOT_API 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 10641 of file Types.h.

Member Typedef Documentation

◆ Ptr

Member Data Documentation

◆ fileHashes

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

List of base64-encoded file hashes.

Definition at line 10661 of file Types.h.

◆ message

std::string TgBot::PassportElementErrorTranslationFiles::message { }

Error message.

Definition at line 10666 of file Types.h.

◆ SOURCE

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

Definition at line 10644 of file Types.h.

◆ source

std::string TgBot::PassportElementErrorTranslationFiles::source { SOURCE }

Error source, must be translation_files.

Definition at line 10649 of file Types.h.

◆ type

std::string TgBot::PassportElementErrorTranslationFiles::type { }

Type of element of the user's Telegram Passport which has the issue, one of “passport”, “driver_license”, “identity_card”, “internal_passport”, “utility_bill”, “bank_statement”, “rental_agreement”, “passport_registration”, “temporary_registration”

Definition at line 10656 of file Types.h.


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