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