Skip to content

Instantly share code, notes, and snippets.

@diyfr
Created April 20, 2021 08:33
Show Gist options
  • Save diyfr/fbe02c5c71a035e26794729247b09de1 to your computer and use it in GitHub Desktop.
Save diyfr/fbe02c5c71a035e26794729247b09de1 to your computer and use it in GitHub Desktop.
Microsoft Teams Message Card

Dont miss header Content-Type:application/json

{
  "@type": "MessageCard",
  "@context": "http://schema.org/extensions",
  "summary": "Test",
  "themeColor": "AA78D7",
  "title": "TEST",
  "sections": [
    {
      "activityImage": "https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png",
      "activityTitle": "Test Activity",
      "activitySubtitle": "Test Subtitle",
      "activityText": "Test Text activity",
      "facts": [
          {
              "name":"Fact name",
              "value":"Fact value"
          }
      ]
    }
  ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment