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

Represents an issue in one of the data fields that was provided by the user. The error is considered resolved when the field's value changes. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<PassportElementErrorDataField>

Public Attributes

std::string source { SOURCE }
 Error source, must be data.
std::string type { }
 The section of the user's Telegram Passport which has the error, one of “personal_details”, “passport”, “driver_license”, “identity_card”, “internal_passport”, “address”
std::string fieldName { }
 Name of the data field which has the error.
std::string dataHash { }
 Base64-encoded data hash.
std::string message { }
 Error message.

Static Public Attributes

static TGBOT_API const std::string SOURCE

Detailed Description

Represents an issue in one of the data fields that was provided by the user. The error is considered resolved when the field's value changes.

Definition at line 9540 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 9541 of file Types.h.

Member Data Documentation

◆ dataHash

std::string TgBot::PassportElementErrorDataField::dataHash { }

Base64-encoded data hash.

Definition at line 9562 of file Types.h.

◆ fieldName

std::string TgBot::PassportElementErrorDataField::fieldName { }

Name of the data field which has the error.

Definition at line 9558 of file Types.h.

◆ message

std::string TgBot::PassportElementErrorDataField::message { }

Error message.

Definition at line 9566 of file Types.h.

◆ SOURCE

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

Definition at line 9543 of file Types.h.

◆ source

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

Error source, must be data.

Definition at line 9548 of file Types.h.

◆ type

std::string TgBot::PassportElementErrorDataField::type { }

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

Definition at line 9554 of file Types.h.


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