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

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

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<PassportElementErrorSelfie>

Public Attributes

std::string source { SOURCE }
 Error source, must be selfie.
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 selfie.
std::string message { }
 Error message.

Static Public Attributes

static TGBOT_API const std::string SOURCE

Detailed Description

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

Definition at line 10570 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 10571 of file Types.h.

Member Data Documentation

◆ fileHash

std::string TgBot::PassportElementErrorSelfie::fileHash { }

Base64-encoded hash of the file with the selfie.

Definition at line 10589 of file Types.h.

◆ message

std::string TgBot::PassportElementErrorSelfie::message { }

Error message.

Definition at line 10594 of file Types.h.

◆ SOURCE

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

Definition at line 10573 of file Types.h.

◆ source

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

Error source, must be selfie.

Definition at line 10578 of file Types.h.

◆ type

std::string TgBot::PassportElementErrorSelfie::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 10584 of file Types.h.


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