# `WardrikSlack.Notices`

Lays out a `Wardrik.Notice` as one Slack message.

| Notice      | Message                                                        |
| ----------- | -------------------------------------------------------------- |
| `:parked`   | the waiting calls, with Approve and Deny, naming the approvers |
| `:failed`   | why it failed                                                  |
| `:finished` | the answer, under the agent's name                             |

The agent is named without its owner, as `triage`. See `WardrikSlack.Rooms.shown/2`.

# `message`

```elixir
@spec message(Wardrik.Notice.t(), [String.t()], String.t()) :: %{
  text: String.t(),
  blocks: [map()]
}
```

Returns the message for `notice`. `agent` is the name to show; `approvers` are asked about a parked turn.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
