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

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

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

```ts
import type { InlineAssistBeforeSendEvent } 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 InlineAssistBeforeSendEvent extends InlineAssistSendEvent {
    preventDefault(): void;
    readonly defaultPrevented: boolean;
}
```

Members (3):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `preventDefault` | `preventDefault(): void;` |  | Sends nothing and keeps the prompt. |
| `defaultPrevented` | `readonly defaultPrevented: boolean;` |  |  |
| `request` | `request: InlineAssistRequest;` | inherited |  |
