You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Message Templates are the best way to **structure** and **customize** your messages and also very useful for **compatiblity** between different services.
8
8
9
-
Configure them by using the `messageTemplates` attribute in you config.
9
+
Configure them by using the `message.template` attribute in you config.
10
10
11
-
These support Go Templates (See [Usage](../usage/advanced)) and work by templating the `message` attribute in the request's body.
11
+
These support Go Templates (See [Templates](../usage/formatting)) and work by templating the `message` attribute in the request's body.
12
12
13
13
Here is an example:
14
14
@@ -17,5 +17,8 @@ Here is an example:
17
17
```
18
18
19
19
> [!IMPORTANT]
20
-
> Message Templates support [Standard Golang Templating](../usage/advanced).
20
+
> Message Templates support [Standard Golang Templating](../usage/formatting).
21
21
> Use `@data.key` to reference Body Keys, `#Content_Type` for Headers and `.KEY` for [Variables](./variables).
22
+
23
+
> [!WARNING]
24
+
> Templating using the `Authorization` header results in a redacted string.
0 commit comments