Set Quiet Hours
notifications.set_quiet_hoursTurn the user's own quiet hours on or off: when on, push and email outside their working hours wait and arrive together when the day starts; in-app notifications still collect. Turning on needs working hours (working_hours.update). Turning off sends anything held. In Atwork's chat the user confirms the change on a card first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | Yes | true holds push and email outside working hours, false sends them right away |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| changed | Yes | false when quiet hours were already in the asked state | |
| enabled | Yes | ||
| workingHours | No | The working hours quiet hours follow, when turned on |