# ConfirmOptions

`interface` in `seedcord` · v0.13.0

<https://docs.seedcord.org/packages/seedcord/0.13.0/interfaces/confirm-options>

Options shared by both confirmation forms.

```ts
interface ConfirmOptions
```

## Properties

### ephemeral

```ts
ephemeral: boolean;
```

Whether the prompt is ephemeral. Only the invoking user can act on it either way, a non-invoker's click is ignored.

### onCancel

```ts
onCancel: Outcome;
```

Shown in place of the prompt when the user cancels. Absent removes the prompt.

### onConfirm

```ts
onConfirm: Outcome;
```

Shown in place of the prompt when the user confirms. Absent removes the prompt.

### onTimeout

```ts
onTimeout: Outcome;
```

Shown in place of the prompt when the prompt times out. Absent removes the prompt.

### timeoutMs

```ts
timeoutMs: number;
```

Milliseconds to wait for a click before the prompt is settled and the result resolves to `false`.
