WebhookInfo

Information about the current status of a webhook

Members

Functions

isNull
bool isNull()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

allowed_updates
string[] allowed_updates;

A list of update types the bot is subscribed to. Defaults to all update types

has_custom_certificate
bool has_custom_certificate;

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

last_error_date
SysTime last_error_date;

Date of the most recent error that happened when trying to deliver an update via webhook

last_error_message
string last_error_message;

Error message in human-readable format for the most recent error that happened when trying to deliver an update via webhook

max_connections
int max_connections;

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

pending_update_count
int pending_update_count;

Number of updates awaiting delivery

url
string url;

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

See Also

Meta