API reference / @chanx-js/server / core / MessageOptions
Interface: MessageOptions
Defined in: packages/server/src/messages.ts:35
Options for defineMessage().
Properties
description?
ts
optional description?: string;Defined in: packages/server/src/messages.ts:39
Documented in AsyncAPI.
title?
ts
optional title?: string;Defined in: packages/server/src/messages.ts:37
The AsyncAPI component name. Defaults to <Action>Message, such as ChatMessage.