# MessagePart

Text that fills a string placeholder of a [`Message`](https://docs.mapcairn.com/api/core/Message-typealias.md): plain text, a
nested message, or a [`HostText`](https://docs.mapcairn.com/api/core/HostText.md) that the one place that speaks the
sentence translates. Use it for a definition's name in an announcement.

This is a type alias exported by `@mapcairn/core`, checked against version 0.2.0.

## Signature

```ts
import type { MessagePart } from "@mapcairn/core";
 
type MessagePart = string | Message | HostText;
```

## See also

- [`Message`](https://docs.mapcairn.com/api/core/Message-typealias.md)
- [`HostText`](https://docs.mapcairn.com/api/core/HostText.md)

Source: [packages/core/src/ports/messages.ts:1232](https://github.com/MapCairn/mapcairn/blob/main/packages/core/src/ports/messages.ts#L1232)
