WebhookInfo
Describes the current status of a webhook.
Поля
urlString
Webhook URL, may be empty if webhook is not set up
has_custom_certificateBoolean
True, if a custom certificate was provided for webhook certificate checks
pending_update_countInteger
Number of updates awaiting delivery
Currently used webhook IP address
Unix time for the most recent error that happened when trying to deliver an update via webhook
Error message in human-readable format for the most recent error that happened when trying to deliver an update via webhook
Unix time of the most recent error that happened when trying to synchronize available updates with Telegram datacenters
The maximum allowed number of simultaneous HTTPS connections to the webhook for update delivery
A list of update types the bot is subscribed to. Defaults to all update types except chat_member, message_reaction, and message_reaction_count.
Минимальный JSON
JSON
{
"url": "...",
"has_custom_certificate": true,
"pending_update_count": 1
}Где используется
Методы