Pattern 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 body of each message is composed of a sequence of parts, some of them fixed (Text), others placeholders for values depending on additional data.

Signature:

export type Pattern = Array<string | Expression | Markup>;

References: Expression, Markup