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

ApiConfig

Configuration for an ApiClient instance.

{
An authentication provider that supplies tokens to the client.
Additional options to pass to the fetch method.
fetchOptions?:
TwitchApiCallFetchOptions

Aliased type: Omit<RequestInit | NodeRequestInit, "headers" | "method" | "body">

Options to pass to the logger.
logger?: Partial<LoggerOptions>
}

Properties

authProvider

Type: AuthProvider

An authentication provider that supplies tokens to the client.

For more information, see the AuthProvider documentation.

fetchOptions

Type:
TwitchApiCallFetchOptions

Aliased type: Omit<RequestInit | NodeRequestInit, "headers" | "method" | "body">

Additional options to pass to the fetch method.

logger

Type: ?Partial<LoggerOptions>

Options to pass to the logger.