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

# cloneInboundEvent()

> Function exported by @botmesh/core/testing.

```ts theme={null}
function cloneInboundEvent(event): InboundEvent;
```

Defined in: [testing/chaos.ts:822](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/chaos.ts#L822)

Structural copy of a normalized inbound event (fresh `ref`/`chat`/`senderInfo`
objects; `raw` and `media` shared) — what a re-parsed webhook body looks like.

## Parameters

| Parameter | Type |
| - | - |
| `event` | [`InboundEvent`](https://botmesh.afaya.com.co/api/core/type-aliases/InboundEvent) |

## Returns

[`InboundEvent`](https://botmesh.afaya.com.co/api/core/type-aliases/InboundEvent)


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