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

# ConversationObserver

> Interface exported by @botmesh/core.

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

Lifecycle observer of ONE live conversation (see `ConversationRuntime.observe`).
Used by `c.idle()` watchdogs; callbacks must be cheap and must not throw.

## Methods

### inbound()?

```ts theme={null}
inbound?(ctx): void;
```

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

Any inbound message routed to the conversation's key — even one its pending wait filters out.

#### Parameters

| Parameter | Type |
| - | - |
| `ctx` | [`RuntimeMessage`](https://botmesh.afaya.com.co/api/core/interfaces/RuntimeMessage) |

#### Returns

`void`

***

### end()?

```ts theme={null}
end?(): void;
```

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

The conversation ended or was aborted/replaced. Fires at most once.

#### Returns

`void`


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