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 10430 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 10431 of file Types.h.

Member Data Documentation

◆ fileHash

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

Base64-encoded file hash.

Definition at line 10449 of file Types.h.

◆ message

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

Error message.

Definition at line 10454 of file Types.h.

◆ SOURCE

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

Definition at line 10433 of file Types.h.

◆ source

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

Error source, must be file.

Definition at line 10438 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 10444 of file Types.h.


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