tgbot-cpp
|
Contains information about the current status of a webhook. More...
#include <WebhookInfo.h>
Public Types | |
typedef std::shared_ptr< WebhookInfo > | Ptr |
Public Attributes | |
std::string | url |
Webhook URL, may be empty if webhook is not set up. More... | |
bool | hasCustomCertificate |
True, if a custom certificate was provided for webhook certificate checks. More... | |
int32_t | pendingUpdateCount |
Number of updates awaiting delivery. More... | |
int32_t | lastErrorDate |
Optional. Unix time for the most recent error that happened when trying to deliver an update via webhook. More... | |
std::string | lastErrorMessage |
Optional. Error message in human - readable format for the most recent error that happened when trying to deliver an update via webhook. More... | |
int32_t | maxConnections |
Optional. Maximum allowed number of simultaneous HTTPS connections to the webhook for update delivery. More... | |
std::vector< std::string > | allowedUpdates |
Optional. A list of update types the bot is subscribed to. Defaults to all update types. More... | |
Contains information about the current status of a webhook.
Definition at line 19 of file WebhookInfo.h.
typedef std::shared_ptr<WebhookInfo> TgBot::WebhookInfo::Ptr |
Definition at line 21 of file WebhookInfo.h.
std::vector<std::string> TgBot::WebhookInfo::allowedUpdates |
Optional. A list of update types the bot is subscribed to. Defaults to all update types.
Definition at line 56 of file WebhookInfo.h.
bool TgBot::WebhookInfo::hasCustomCertificate |
True, if a custom certificate was provided for webhook certificate checks.
Definition at line 31 of file WebhookInfo.h.
int32_t TgBot::WebhookInfo::lastErrorDate |
Optional. Unix time for the most recent error that happened when trying to deliver an update via webhook.
Definition at line 41 of file WebhookInfo.h.
std::string TgBot::WebhookInfo::lastErrorMessage |
Optional. Error message in human - readable format for the most recent error that happened when trying to deliver an update via webhook.
Definition at line 46 of file WebhookInfo.h.
int32_t TgBot::WebhookInfo::maxConnections |
Optional. Maximum allowed number of simultaneous HTTPS connections to the webhook for update delivery.
Definition at line 51 of file WebhookInfo.h.
int32_t TgBot::WebhookInfo::pendingUpdateCount |
Number of updates awaiting delivery.
Definition at line 36 of file WebhookInfo.h.
std::string TgBot::WebhookInfo::url |
Webhook URL, may be empty if webhook is not set up.
Definition at line 26 of file WebhookInfo.h.