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

Member Typedef Documentation

◆ Ptr

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

◆ message

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

Error message.

Definition at line 9662 of file Types.h.

◆ SOURCE

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

Definition at line 9644 of file Types.h.

◆ source

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

Error source, must be front_side.

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


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