Skip to content

Instantly share code, notes, and snippets.

@DeeJayTC
Last active February 21, 2019 16:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DeeJayTC/0216199e38cb55ec4a3402108c44ecdf to your computer and use it in GitHub Desktop.
Save DeeJayTC/0216199e38cb55ec4a3402108c44ecdf to your computer and use it in GitHub Desktop.
Adaptive Cards made easy :)
{
"type": "AdaptiveCard",
"body": [
{
"type": "Container",
"items": [
{
"type": "ColumnSet",
"columns": [
{
"type": "Column",
"items": [
{
"type": "Image",
"style": "Person",
"url": "@Model.Status.PersonProfileImage",
"size": "Small"
}
],
"width": "auto"
},
{
"type": "Column",
"items": [
{
"type": "TextBlock",
"weight": "Bolder",
"text": "@Model.Status.User.FirstName @Model.Status.User.LastName updated his status",
"wrap": true
},
//......
// .....
//......
// .....
],
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.0"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment