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

# MockMediaToken

> Interface exported by @botmesh/core/testing.

Defined in: [testing/MockProvider.ts:64](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/MockProvider.ts#L64)

Bytes or URL behind a simulated inbound media (the `MediaRef.token` the mock builds).

## Properties

### bytes?

```ts theme={null}
bytes?: Uint8Array<ArrayBufferLike> | Buffer<ArrayBufferLike>;
```

Defined in: [testing/MockProvider.ts:66](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/MockProvider.ts#L66)

What [MockProvider.downloadMedia](https://botmesh.afaya.com.co/api/core/testing/classes/MockProvider.md#downloadmedia) returns (a copy). Absent: the download rejects.

***

### url?

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

Defined in: [testing/MockProvider.ts:68](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/MockProvider.ts#L68)

Metadata only — the mock never fetches it.


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