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

Public Types

using Ptr = std::shared_ptr<PassportElementErrorTranslationFile>

Public Attributes

std::string source { SOURCE }
 Error source, must be translation_file.
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::string fileHash { }
 Base64-encoded file hash.
std::string message { }
 Error message.

Static Public Attributes

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

Member Typedef Documentation

◆ Ptr

Member Data Documentation

◆ fileHash

std::string TgBot::PassportElementErrorTranslationFile::fileHash { }

Base64-encoded file hash.

Definition at line 10625 of file Types.h.

◆ message

std::string TgBot::PassportElementErrorTranslationFile::message { }

Error message.

Definition at line 10630 of file Types.h.

◆ SOURCE

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

Definition at line 10608 of file Types.h.

◆ source

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

Error source, must be translation_file.

Definition at line 10613 of file Types.h.

◆ type

std::string TgBot::PassportElementErrorTranslationFile::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 10620 of file Types.h.


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