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

> The InlineAssistMessage interface of @salmonui/chat/inline-assist: One prompt and its response.

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

```ts
import type { InlineAssistMessage } 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 InlineAssistMessage {
    readonly id: string;
    readonly prompt: string;
    readonly command?: string;
    readonly response: string;
    readonly status: 'done' | 'aborted' | 'error';
}
```

One prompt and its response.

Members (5):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `id` | `readonly id: string;` |  |  |
| `prompt` | `readonly prompt: string;` |  |  |
| `command` | `readonly command?: string;` | optional | Id of the command that produced the prompt. |
| `response` | `readonly response: string;` |  |  |
| `status` | `readonly status: 'done' \| 'aborted' \| 'error';` |  | `'aborted'`: stopped by Stop or by closing; `'error'`: the adapter threw. |
