# InlineAssistResponseActionEvent (@salmonui/chat/inline-assist)

> The InlineAssistResponseActionEvent interface of @salmonui/chat/inline-assist.

Canonical: https://salmonui.dev/docs/reference/chat/inline-assist/InlineAssistResponseActionEvent

```ts
import type { InlineAssistResponseActionEvent } from '@salmonui/chat/inline-assist';
```

Entry index: https://salmonui.dev/docs/reference/chat/inline-assist (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/chat/inline-assist.md).

## Reference

Kind: interface

```ts
interface InlineAssistResponseActionEvent {
    readonly action: string;
    readonly text: string;
    readonly message: InlineAssistMessage;
    preventDefault(): void;
    readonly defaultPrevented: boolean;
}
```

Members (5):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `action` | `readonly action: string;` |  | `'accept'`, `'discard'`, `'retry'` or a custom action's `id`. |
| `text` | `readonly text: string;` |  |  |
| `message` | `readonly message: InlineAssistMessage;` |  |  |
| `preventDefault` | `preventDefault(): void;` |  | Cancels the built-in follow-up of a built-in action. |
| `defaultPrevented` | `readonly defaultPrevented: boolean;` |  |  |
