ChatEventHandler
Home > @gooddata/sdk-ui-gen-ai > ChatEventHandler
ChatEventHandler interface
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
An event handler for the Chat component.
Signature:
export interface ChatEventHandler<TEvent extends ChatEvent = any>
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
eval | (event: ChatEvent) => event is TEvent | (ALPHA) A guard for a specific event type. | |
handler | (event: TEvent) => void | (ALPHA) Event handler. |