twitcheasy-twitch-bottwitch-authtwitch-auth-tmitwitch-chat-clienttwitch-eventsubtwitch-pubsub-clienttwitch-webhooks

WebHookConfig

The configuration of a WebHook listener.

{
Default validity of a WebHook, in seconds.
hookValidity?: number
Options to pass to the logger.
logger?: Partial<LoggerOptions>
}

Properties

hookValidity

Type: ?number

Default validity of a WebHook, in seconds.

Please note that this doesn't mean that you don't get any notifications after the given time. The hook will be automatically refreshed.

This is meant for debugging issues. Please don't set it unless you know what you're doing.

logger

Type: ?Partial<LoggerOptions>

Options to pass to the logger.