property NotificationMessage.metadata

Channel-specific extras.

The four built-in channels (email, sms, push, slack) accept these but do not read them; they exist for custom channel implementations registered alongside the built-ins.

Type

Readonly<Record<string, unknown>>

Usage

import { type NotificationMessage } from "common/src/index.ts";