Bot API · Bot token
getWebhookInfo
Inspect the current webhook configuration
Returns current webhook state for this bot+env. Never rate-limited in code.
Request
curl https://api.sprintelex.com/getWebhookInfo \ -H "Authorization: Bearer <bot-token>"
Response
{ ok: true, result: { url ('' when none), has_custom_certificate: false (always), pending_update_count (live count of undelivered_webhook updates), last_error_date (unix seconds or null), last_error_message (or null), max_connections, allowed_updates, is_disabled, last_poll_at (ISO string or null), stored_pending_count } }Rate limit: none in code