mirror of https://github.com/caronc/apprise
Updated Notify_workflows (markdown)
parent
3537027939
commit
cb7512c240
|
@ -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:
|
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
|
```json
|
||||||
{
|
{
|
||||||
"@type": "MessageCard",
|
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
|
||||||
"@context": "https://schema.org/extensions",
|
"type": "AdaptiveCard",
|
||||||
"summary": "{{app_id}}",
|
"version": "1.5",
|
||||||
"sections": [
|
"body": [
|
||||||
{
|
{
|
||||||
"activityImage": "{{app_image_url}}",
|
"type": "TextBlock",
|
||||||
"activityTitle": "{{app_title}}",
|
"text": "{{app_title}}",
|
||||||
"text": "Hello {{ target }}, how are you {{ whence }}?"
|
"weight": "Bolder",
|
||||||
}
|
"separator": true
|
||||||
]
|
},
|
||||||
|
{
|
||||||
|
"type": "TextBlock",
|
||||||
|
"text": "{{app_body}}",
|
||||||
|
"wrap": true
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue