> ## Documentation Index
> Fetch the complete documentation index at: https://botmesh.afaya.com.co/llms.txt
> Use this file to discover all available pages before exploring further.

# StoredChat

> Interface exported by @botmesh/core.

Defined in: [core/provider.ts:1318](https://github.com/andresayac/botmesh/blob/main/packages/core/src/core/provider.ts#L1318)

A chat record in the store (name, kind, handoff state…).

## Properties

### id

```ts theme={null}
id: string;
```

Defined in: [core/provider.ts:1319](https://github.com/andresayac/botmesh/blob/main/packages/core/src/core/provider.ts#L1319)

***

### tenantId?

```ts theme={null}
tenantId?: string;
```

Defined in: [core/provider.ts:1320](https://github.com/andresayac/botmesh/blob/main/packages/core/src/core/provider.ts#L1320)

***

### environmentId?

```ts theme={null}
environmentId?: string;
```

Defined in: [core/provider.ts:1321](https://github.com/andresayac/botmesh/blob/main/packages/core/src/core/provider.ts#L1321)

***

### botId?

```ts theme={null}
botId?: string;
```

Defined in: [core/provider.ts:1322](https://github.com/andresayac/botmesh/blob/main/packages/core/src/core/provider.ts#L1322)

***

### providerId?

```ts theme={null}
providerId?: string;
```

Defined in: [core/provider.ts:1323](https://github.com/andresayac/botmesh/blob/main/packages/core/src/core/provider.ts#L1323)

***

### connectionId?

```ts theme={null}
connectionId?: string;
```

Defined in: [core/provider.ts:1324](https://github.com/andresayac/botmesh/blob/main/packages/core/src/core/provider.ts#L1324)

***

### kind?

```ts theme={null}
kind?: ChatKind;
```

Defined in: [core/provider.ts:1325](https://github.com/andresayac/botmesh/blob/main/packages/core/src/core/provider.ts#L1325)

***

### name?

```ts theme={null}
name?: string;
```

Defined in: [core/provider.ts:1326](https://github.com/andresayac/botmesh/blob/main/packages/core/src/core/provider.ts#L1326)

***

### lastMessageAt?

```ts theme={null}
lastMessageAt?: number;
```

Defined in: [core/provider.ts:1327](https://github.com/andresayac/botmesh/blob/main/packages/core/src/core/provider.ts#L1327)

***

### updatedAt?

```ts theme={null}
updatedAt?: number;
```

Defined in: [core/provider.ts:1328](https://github.com/andresayac/botmesh/blob/main/packages/core/src/core/provider.ts#L1328)

***

### raw?

```ts theme={null}
raw?: unknown;
```

Defined in: [core/provider.ts:1329](https://github.com/andresayac/botmesh/blob/main/packages/core/src/core/provider.ts#L1329)

***

### handoff?

```ts theme={null}
handoff?: StoredHandoff | null;
```

Defined in: [core/provider.ts:1334](https://github.com/andresayac/botmesh/blob/main/packages/core/src/core/provider.ts#L1334)

Human-handoff state; `null` once resumed. Written by the Bot; `bot.start()` restores
the chats listed in the bot's handoff index (`HANDOFF_INDEX_KEY` store cursor).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.