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

# RuntimeMessage

> Interface exported by @botmesh/core.

Defined in: [conversations/ConversationRuntime.ts:42](https://github.com/andresayac/botmesh/blob/main/packages/core/src/conversations/ConversationRuntime.ts#L42)

The message shape conversations work with. Every [MessageContext](https://botmesh.afaya.com.co/api/core/interfaces/MessageContext.md) satisfies it.

## Properties

### from

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

Defined in: [conversations/ConversationRuntime.ts:43](https://github.com/andresayac/botmesh/blob/main/packages/core/src/conversations/ConversationRuntime.ts#L43)

***

### sender

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

Defined in: [conversations/ConversationRuntime.ts:43](https://github.com/andresayac/botmesh/blob/main/packages/core/src/conversations/ConversationRuntime.ts#L43)

***

### body

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

Defined in: [conversations/ConversationRuntime.ts:43](https://github.com/andresayac/botmesh/blob/main/packages/core/src/conversations/ConversationRuntime.ts#L43)

***

### type

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

Defined in: [conversations/ConversationRuntime.ts:43](https://github.com/andresayac/botmesh/blob/main/packages/core/src/conversations/ConversationRuntime.ts#L43)

***

### isGroup

```ts theme={null}
isGroup: boolean;
```

Defined in: [conversations/ConversationRuntime.ts:43](https://github.com/andresayac/botmesh/blob/main/packages/core/src/conversations/ConversationRuntime.ts#L43)

***

### user?

```ts theme={null}
user?: UserData;
```

Defined in: [conversations/ConversationRuntime.ts:47](https://github.com/andresayac/botmesh/blob/main/packages/core/src/conversations/ConversationRuntime.ts#L47)

Sender profile when the message came through a Bot (`userOf(ctx)` gives a non-optional handle).

***

### lang?

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

Defined in: [conversations/ConversationRuntime.ts:49](https://github.com/andresayac/botmesh/blob/main/packages/core/src/conversations/ConversationRuntime.ts#L49)

Resolved language when the message came through a Bot (see `MessageContext.lang`).

***

### sharedLocation?

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

Defined in: [conversations/ConversationRuntime.ts:53](https://github.com/andresayac/botmesh/blob/main/packages/core/src/conversations/ConversationRuntime.ts#L53)

Normalized shared location, when the message is one (see `MessageContext.sharedLocation`).

## Methods

### reply()

```ts theme={null}
reply(text, opts?): Promise<unknown>;
```

Defined in: [conversations/ConversationRuntime.ts:45](https://github.com/andresayac/botmesh/blob/main/packages/core/src/conversations/ConversationRuntime.ts#L45)

`opts` is honored by bot contexts (pacing, `cancelIf`); other implementations may ignore it.

#### Parameters

| Parameter | Type |
| - | - |
| `text` | `string` |
| `opts?` | [`ReplyOptions`](https://botmesh.afaya.com.co/api/core/interfaces/ReplyOptions) |

#### Returns

`Promise`\<`unknown`>

***

### t()?

```ts theme={null}
t?(key, params?): string;
```

Defined in: [conversations/ConversationRuntime.ts:51](https://github.com/andresayac/botmesh/blob/main/packages/core/src/conversations/ConversationRuntime.ts#L51)

Bound translator when the message came through a Bot (see `MessageContext.t`).

#### Parameters

| Parameter | Type |
| - | - |
| `key` | `string` |
| `params?` | [`TranslateParams`](https://botmesh.afaya.com.co/api/core/type-aliases/TranslateParams) |

#### Returns

`string`


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