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

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

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<PassportElementErrorFrontSide>

Public Attributes

std::string source { SOURCE }
 Error source, must be front_side.
std::string type { }
 The section of the user's Telegram Passport which has the issue, one of “passport”, “driver_license”, “identity_card”, “internal_passport”
std::string fileHash { }
 Base64-encoded hash of the file with the front side of the document.
std::string message { }
 Error message.

Static Public Attributes

static TGBOT_API const std::string SOURCE

Detailed Description

Represents an issue with the front side of a document. The error is considered resolved when the file with the front side of the document changes.

Definition at line 10500 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 10501 of file Types.h.

Member Data Documentation

◆ fileHash

std::string TgBot::PassportElementErrorFrontSide::fileHash { }

Base64-encoded hash of the file with the front side of the document.

Definition at line 10519 of file Types.h.

◆ message

std::string TgBot::PassportElementErrorFrontSide::message { }

Error message.

Definition at line 10524 of file Types.h.

◆ SOURCE

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

Definition at line 10503 of file Types.h.

◆ source

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

Error source, must be front_side.

Definition at line 10508 of file Types.h.

◆ type

std::string TgBot::PassportElementErrorFrontSide::type { }

The section of the user's Telegram Passport which has the issue, one of “passport”, “driver_license”, “identity_card”, “internal_passport”

Definition at line 10514 of file Types.h.


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