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

SingleUserPubSubClientOptions

Options for creating the single-user PubSub client.

{
Options to pass to the logger.
logger?: Partial<LoggerOptions>
The level of logging to use for the PubSub client.
logLevel?: LogLevel
The underlying {@BasicPubSubClient} instance. If not given, we'll create a new one.
The {@ApiClient} instance to use for API requests and token management.
}

Properties

logger

Type: ?Partial<LoggerOptions>

Options to pass to the logger.

logLevel

Type: ?LogLevel

Deprecated.

Use SingleUserPubSubClientOptions#logger instead.

The level of logging to use for the PubSub client.

pubSubClient

Type: ?BasicPubSubClient

The underlying BasicPubSubClient instance. If not given, we'll create a new one.

WARNING: If you pass this, you shouldn't execute any manual actions on it. You can, however, pass the same client to multiple instances of SingleUserPubSubClient.

twitchClient

Type: ApiClient

The ApiClient instance to use for API requests and token management.