WebhookConnectionOptions
The options for bulding up a Webhook Connection.
Type declaration
Member | Type | Description |
---|---|---|
appToken | TokenAdapter <"app" , boolean > | The app token used by this connection. |
baseURL | string | The base URL for the webhook callback. |
dropSubsAtStart | boolean | Whether to drop subscriptions at start. This will delete all subscriptions that are currently active within the client (only webhook created) to avoid duplicated subscriptions if any storage was set. Default false |
secret | string | The secret used for creating subscriptions within this connection. |
startServer | boolean | Whether to start the server when the connection is started. Default false |
subscriptionRoute | string | The route for receiving Twitch messages. Default /subscriptions |
Source
twitchfy/packages/eventsub/src/webhook/types/WebhookConnectionOptions.ts:10