Skip to content

StartScreenPrompt

type StartScreenPrompt = {
icon?: ChatKitIcon;
label: string;
prompt: string | UserMessageContent[];
};
optional icon: ChatKitIcon;

Optional icon displayed with the prompt.

ChatKitIcon


label: string;

Human-readable label shown for the prompt.


prompt:
| string
| UserMessageContent[];

Preset message content submitted as a user message when selected. Provide a simple string for most prompts; use structured UserMessageContent segments only when you need advanced rich input (e.g. prefilled tags).

UserMessageContent