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>
|
| 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.
|
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 10389 of file Types.h.
◆ Ptr
◆ dataHash
| std::string TgBot::PassportElementErrorDataField::dataHash { } |
Base64-encoded data hash.
Definition at line 10414 of file Types.h.
◆ fieldName
| std::string TgBot::PassportElementErrorDataField::fieldName { } |
Name of the data field which has the error.
Definition at line 10409 of file Types.h.
◆ message
| std::string TgBot::PassportElementErrorDataField::message { } |
◆ SOURCE
| TGBOT_API const std::string TgBot::PassportElementErrorDataField::SOURCE |
|
static |
◆ source
| std::string TgBot::PassportElementErrorDataField::source { SOURCE } |
Error source, must be data.
Definition at line 10397 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 10404 of file Types.h.
The documentation for this struct was generated from the following file: