Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • LaunchOptions

Index

Properties

Optional allowedUpdates

allowedUpdates?: UpdateType[]

List the types of updates you want your bot to receive

Optional dropPendingUpdates

dropPendingUpdates?: boolean

Optional webhook

webhook?: { cb?: RequestListener; domain?: string; hookPath?: string; host?: string; port?: number; tlsOptions?: TlsOptions }

Configuration options for when the bot is run via webhooks

Type declaration

  • Optional cb?: RequestListener
  • Optional domain?: string

    Public domain for webhook. If domain is not specified, hookPath should contain a domain name as well (not only path component).

  • Optional hookPath?: string

    Webhook url path; will be automatically generated if not specified

  • Optional host?: string
  • Optional port?: number
  • Optional tlsOptions?: TlsOptions

    TLS server options. Omit to use http.

Generated using TypeDoc