|
Telebot
4.7.0
Library for Telegram bot API
|
Thi object represetns information about the current status of a webhook. More...
#include <telebot-types.h>
Public Attributes | |
| char * | url |
| bool | has_custom_certificate |
| int | pending_update_count |
| long | last_error_date |
| char * | last_error_message |
| int | max_connections |
| telebot_update_type_e | allowed_updates [TELEBOT_UPDATE_TYPE_MAX] |
| int | allowed_updates_count |
Thi object represetns information about the current status of a webhook.
| telebot_update_type_e telebot_webhook_info::allowed_updates[TELEBOT_UPDATE_TYPE_MAX] |
Optional. A list of update types the bot is subscribed to. Defaults to all update types.
| int telebot_webhook_info::allowed_updates_count |
Optional. Number of updates types.
| bool telebot_webhook_info::has_custom_certificate |
True, if a custom certificate was provided for webhook certificate checks
| long telebot_webhook_info::last_error_date |
Optional. Unix time for the most recent error that happened when trying to deliver an update via webhook
| char* telebot_webhook_info::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
| int telebot_webhook_info::max_connections |
Optional. Maximum allowed number of simultaneous HTTPS connections to the webhook for update delivery
| int telebot_webhook_info::pending_update_count |
Number of updates awaiting delivery
| char* telebot_webhook_info::url |
Webhook URL, may be empty if webhook is not set up
1.8.13