Options
All
  • Public
  • Public/Protected
  • All
Menu

Contains information about the current status of a webhook.

Hierarchy

  • IWebhookInfo

Index

Properties

Optional allowed_updates

allowed_updates: string[]

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

has_custom_certificate

has_custom_certificate: boolean

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

Optional last_error_date

last_error_date: number

Unix time for the most recent error that happened when trying to deliver an update via webhook.

Optional last_error_message

last_error_message: string

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

Optional max_connections

max_connections: number

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

pending_update_count

pending_update_count: number

Number of updates awaiting delivery.

url

url: string

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

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc