> ## 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.

# StoredMessage

> Interface exported by @botmesh/core.

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

A message as kept in the store's per-chat log.

## Properties

### ref

```ts theme={null}
ref: MessageRef;
```

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

***

### chatId

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

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

***

### senderId?

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

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

***

### tenantId?

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

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

***

### environmentId?

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

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

***

### botId?

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

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

***

### providerId?

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

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

***

### connectionId?

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

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

***

### timestamp

```ts theme={null}
timestamp: number;
```

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

***

### type

```ts theme={null}
type: 
  | MessageType
  | "reaction"
  | "native"
  | "card"
  | "template";
```

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

***

### body?

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

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

***

### fromMe?

```ts theme={null}
fromMe?: boolean;
```

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

***

### direction?

```ts theme={null}
direction?: "inbound" | "outbound";
```

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

***

### status?

```ts theme={null}
status?: "failed" | "sent" | "delivered" | "read" | "received" | "queued";
```

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

***

### error?

```ts theme={null}
error?: object;
```

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

#### code?

```ts theme={null}
code?: string | number;
```

#### message?

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

***

### quoted?

```ts theme={null}
quoted?: MessageRef;
```

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

***

### location?

```ts theme={null}
location?: InboundLocation;
```

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

Normalized shared location of an inbound `location` message (see [InboundMessage.location](https://botmesh.afaya.com.co/api/core/interfaces/InboundMessage.md#location)).

***

### raw?

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

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


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