Aliased type: Omit<RequestInit | NodeRequestInit, "headers" | "method" | "body">
Properties
authProvider
Type: AuthProvider
An authentication provider that supplies tokens to the client.
For more information, see the AuthProvider documentation.
cheermotes
Type: TwitchCheermoteConfig
Pass the full CheermoteFormat to the applicable methods instead.
Default values for fetched cheermotes.
fetchOptions
Type: TwitchApiCallFetchOptionsAliased type: Omit<RequestInit | NodeRequestInit, "headers" | "method" | "body">
Aliased type: Omit<RequestInit | NodeRequestInit, "headers" | "method" | "body">
Additional options to pass to the fetch method.
initialScopes
Type: Array<string>
Call ApiClient#requestScopes after instantiating the client instead.
The scopes to request with the initial request, even if it's not necessary for the request.
logLevel
Type: ?LogLevel
Use logger.minLevel instead.
The minimum level of log levels to see. Defaults to critical errors.
preAuth
Type: boolean
Call ApiClient#requestScopes after instantiating the client instead.
Whether to authenticate the client before a request is made.