Skip to main content

Types

Coming Soon

This documentation is currently being written. Check back soon!

Overview

Complete TypeScript type definitions for the ChatBox SDK.

Core Types

ChatBoxConfig

Configuration object interface.

ChatBoxTheme

Theme configuration interface.

ChatBoxContext

Context variables type.

ChatBoxEvent

Event types and payloads.

TypeScript Usage

import ChatBoxSDK from '@dialogkit/chatbox-sdk';
import type { ChatBoxConfig, ChatBoxTheme } from '@dialogkit/chatbox-sdk';

const config: ChatBoxConfig = {
apiKey: 'YOUR_API_KEY'
};

const chatbox: ChatBoxSDK = new ChatBoxSDK(config);

Next Steps