Updated Notify_workflows (markdown)

master
Chris Caron 2024-10-08 21:35:11 -04:00
parent 3537027939
commit cb7512c240
1 changed files with 16 additions and 10 deletions

@ -57,16 +57,22 @@ Define a `?template=` argument that points to a predefined JSON payload you wish
The `template=` you point to, can either be fully populate and ready to go as is (up to the MSTeams chat server), or you can dynamically populate it on the fly each time you call Apprise. You do this by using the double curly brace `{{` and `}}` to surround a keyword that you invent; here is an example:
```json
{
"@type": "MessageCard",
"@context": "https://schema.org/extensions",
"summary": "{{app_id}}",
"sections": [
{
"activityImage": "{{app_image_url}}",
"activityTitle": "{{app_title}}",
"text": "Hello {{ target }}, how are you {{ whence }}?"
}
]
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.5",
"body": [
{
"type": "TextBlock",
"text": "{{app_title}}",
"weight": "Bolder",
"separator": true
},
{
"type": "TextBlock",
"text": "{{app_body}}",
"wrap": true
}
]
}
```