5 #ifndef TGBOT_WEBHOOKINFO_H 6 #define TGBOT_WEBHOOKINFO_H 21 typedef std::shared_ptr<WebhookInfo>
Ptr;
60 #endif //TGBOT_WEBHOOKINFO_H
Contains information about the current status of a webhook.
bool hasCustomCertificate
True, if a custom certificate was provided for webhook certificate checks.
std::string lastErrorMessage
Optional. Error message in human - readable format for the most recent error that happened when tryin...
int32_t lastErrorDate
Optional. Unix time for the most recent error that happened when trying to deliver an update via webh...
std::shared_ptr< WebhookInfo > Ptr
int32_t pendingUpdateCount
Number of updates awaiting delivery.
std::string url
Webhook URL, may be empty if webhook is not set up.
int32_t maxConnections
Optional. Maximum allowed number of simultaneous HTTPS connections to the webhook for update delivery...
std::vector< std::string > allowedUpdates
Optional. A list of update types the bot is subscribed to. Defaults to all update types...