Canonical type reference for the Support component and related hooks, events, and shared data models.

Overview

This page is the canonical reference for shared Support component types. Other support docs link here when a table row references a named type like TimelineItem, Conversation, or PublicVisitor.

Widget Types

DefaultMessage

Structure for pre-conversation welcome messages.

Property

Type

VisitorMetadata

Key-value pairs for storing custom data about contacts.

Property

Type

SenderType

Enum defining who can send messages.

Property

Type

TriggerRenderProps

Props provided to custom trigger render functions.

Property

Type

SupportHandle

Imperative handle for programmatic widget control via refs.

Property

Type

Visitor And Website Data

PublicVisitor

The visitor object returned by the widget, representing an anonymous or identified visitor.

Property

Type

PublicContact

Contact information for an identified visitor.

Property

Type

PublicWebsiteResponse

Website configuration and agent availability information.

Property

Type

HumanAgent

Information about a human support agent.

Property

Type

AIAgent

Information about an AI support agent.

Property

Type

Conversations And Messages

Conversation

Conversation record used throughout the support widget and event payloads.

Property

Type

TimelineItem

Timeline item payload used for widget messages, events, and AI tool output.

Property

Type

Hook And Event Types

IdentifyParams

Parameters for the identify() function.

Property

Type

MessageComposer

State and actions returned by useConversationPage for message composition.

Property

Type

SupportEvent

Union type of all possible widget events.

Property

Type

Client Types

CossistantClient

The low-level client instance for advanced programmatic control. The table below highlights the main public stores and methods exposed by the client.

Property

Type