Components
CustomMessageRule
Example Usage
Fields
Field | Type | Required | Description | Example |
---|---|---|---|---|
description | string | TRUE | The description of the rule | |
timeRangeStart | string | FALSE | The start of the time range for the rule in 24-hour format hh:mm (should be null for “all day” cases) | 09:00 |
timeRangeEnd | string | FALSE | The end of the time range for the rule in 24-hour format hh:mm (should be null for “all day” cases) | 17:00 |
date | string | FALSE | The date for the rule in YYYY-MM-DD format | 2025-01-01 |
daysOfWeek | components.DayOfWeek[] | FALSE | The days of the week for the rule | [ “mo”, “tu”, “we”, “th”, “fr” ] |
invert | boolean | TRUE | Whether the rule logic should be inverted (i.e. “not”) | |
text | string | TRUE | Message text associated with the rule | Sorry, we’re closed today |