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>
|
| 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.
|
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.
◆ Ptr
◆ fileHash
| std::string TgBot::PassportElementErrorTranslationFile::fileHash { } |
Base64-encoded file hash.
Definition at line 10625 of file Types.h.
◆ message
| std::string TgBot::PassportElementErrorTranslationFile::message { } |
◆ SOURCE
| TGBOT_API const std::string TgBot::PassportElementErrorTranslationFile::SOURCE |
|
static |
◆ 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: