Telebot  4.7.0
Library for Telegram bot API
Public Attributes | List of all members
telebot_webhook_info Struct Reference

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
 

Detailed Description

Thi object represetns information about the current status of a webhook.

Member Data Documentation

◆ allowed_updates

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.

◆ allowed_updates_count

int telebot_webhook_info::allowed_updates_count

Optional. Number of updates types.

◆ has_custom_certificate

bool telebot_webhook_info::has_custom_certificate

True, if a custom certificate was provided for webhook certificate checks

◆ last_error_date

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

◆ last_error_message

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

◆ max_connections

int telebot_webhook_info::max_connections

Optional. Maximum allowed number of simultaneous HTTPS connections to the webhook for update delivery

◆ pending_update_count

int telebot_webhook_info::pending_update_count

Number of updates awaiting delivery

◆ url

char* telebot_webhook_info::url

Webhook URL, may be empty if webhook is not set up


The documentation for this struct was generated from the following file: