diff --git a/Notify_workflows.md b/Notify_workflows.md index d92cf33..604409d 100644 --- a/Notify_workflows.md +++ b/Notify_workflows.md @@ -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 + } + ] } ```