Class WebhookTransport

Constructors

Properties

api: API
options: Omit<IUpdatesOptions, "api" | "upload">
started: boolean = false
webhookHandler: ((update) => unknown)

Type declaration

    • (update): unknown
    • Parameters

      • update: object

      Returns unknown

webhookServer?: Server<typeof IncomingMessage, typeof ServerResponse> | Server<typeof IncomingMessage, typeof ServerResponse>

Methods

Generated using TypeDoc