Message type

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

The representation of a single message. The shape of the message is an implementation detail, and may vary for the same message in different languages.

Signature:

export type Message = PatternMessage | SelectMessage;

References: PatternMessage, SelectMessage