webhook_info_t¶
-
struct banana::api::webhook_info_t¶
Describes the current status of a webhook.
Webhook URL, may be empty if webhook is not set up
True, if a custom certificate was provided for webhook certificate checks
Number of updates awaiting delivery
-
optional_t<string_t> ip_address¶
Optional. Currently used webhook IP address
-
optional_t<integer_t> last_error_date¶
Optional. Unix time for the most recent error that happened when trying to deliver an update via webhook
-
optional_t<string_t> last_error_message¶
Optional. Error message in human-readable format for the most recent error that happened when trying to deliver an update via webhook
-
optional_t<integer_t> last_synchronization_error_date¶
Optional. Unix time of the most recent error that happened when trying to synchronize available updates with Telegram datacenters
-
optional_t<integer_t> max_connections¶
Optional. The maximum allowed number of simultaneous HTTPS connections to the webhook for update delivery
-
optional_t<array_t<string_t>> allowed_updates¶
Optional. A list of update types the bot is subscribed to. Defaults to all update types except chat_member
-
optional_t<string_t> ip_address¶