ChatEventHandler
Home > @gooddata/sdk-ui-gen-ai > ChatEventHandler
ChatEventHandler interface
An event handler for the Chat component.
Signature:
export interface ChatEventHandler<TEvent extends ChatEvent = any> 
Properties
| Property | Modifiers | Type | Description | 
|---|---|---|---|
| (event: ChatEvent) => event is TEvent | A guard for a specific event type. | ||
| (event: TEvent) => void | Event handler. |