tgbot-cpp
Loading...
Searching...
No Matches
TgBot::PassportElementErrorFile Struct Reference

Represents an issue with a document scan. The error is considered resolved when the file with the document scan changes. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<PassportElementErrorFile>

Public Attributes

std::string source { SOURCE }
 Error source, must be file.
std::string type { }
 The section of the user's Telegram Passport which has the issue, one of “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 a document scan. The error is considered resolved when the file with the document scan changes.

Definition at line 9577 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 9578 of file Types.h.

Member Data Documentation

◆ fileHash

std::string TgBot::PassportElementErrorFile::fileHash { }

Base64-encoded file hash.

Definition at line 9594 of file Types.h.

◆ message

std::string TgBot::PassportElementErrorFile::message { }

Error message.

Definition at line 9598 of file Types.h.

◆ SOURCE

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

Definition at line 9580 of file Types.h.

◆ source

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

Error source, must be file.

Definition at line 9585 of file Types.h.

◆ type

std::string TgBot::PassportElementErrorFile::type { }

The section of the user's Telegram Passport which has the issue, one of “utility_bill”, “bank_statement”, “rental_agreement”, “passport_registration”, “temporary_registration”

Definition at line 9590 of file Types.h.


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