Forum Discussion
MoezT
Mar 04, 2022Copper Contributor
Bots posted a new message
We are in the process of consolidating a number of different alerting systems into Teams. This requires us to interact with the incoming webhook of channels. What we're finding is that on macOS/Windo...
MoezT
Copper Contributor
Sayali-MSFT Create an inbound webhook for a channel and then send this JSON to that channel. The notification will show something like the screenshot below instead of showing the summary test.
{
"type":"message",
"summary": "This is a test",
"attachments":[
{
"contentType":"application/vnd.microsoft.card.adaptive",
"contentUrl":null,
"content":{
"$schema":"http://adaptivecards.io/schemas/adaptive-card.json",
"type":"AdaptiveCard",
"version":"1.2",
"body":[
{
"type": "TextBlock",
"text": "For Samples and Templates, see [https://adaptivecards.io/samples](https://adaptivecards.io/samples)"
},
{
"type": "Image",
"url": "https://adaptivecards.io/content/cats/1.png"
}
]
}
}
]
}
RigidDesign
Mar 13, 2022Copper Contributor
MoezT
Thank you for replying. I was away this weekend