Skip to content

Commit 2807afb

Browse files
authored
Merge pull request #6 from teams-notifier/update-doc-for-activity-api-v0.9.0
update activity-api doc for v0.9.0
2 parents d4572f8 + ee5eb94 commit 2807afb

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

content/docs/deployment/core/activity-api.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,19 @@ All POST routes require a `conversation_token` (obtained from MS Teams bot inter
7575
```json
7676
{
7777
"conversation_token": "conversation_token (uuid)",
78-
"text": "Your message content",
79-
"title": "Message title",
80-
"title_color": "default" // Options: dark, light, accent, good, warning, attention
78+
"message": {
79+
"title": "Message title",
80+
"text": "Your message content",
81+
82+
"style": "default", // Options: default, emphasis, good, attention, warning, accent
83+
"bleed": false, // Set the text container to bleed (fill the card width)
84+
85+
"title_color": "default", // Options: dark, light, accent, good, warning, attention
86+
"title_style": "default", // Options: default, emphasis, good, attention, warning, accent
87+
"title_bleed": false, // Set the title container to bleed (fill the card width)
88+
89+
"summary": "string"
90+
}
8191
}
8292
```
8393

0 commit comments

Comments
 (0)