root.activities object

Defines the notifications your app posts to the user's activity feed in Teams.

Properties that reference this object type:

Syntax

{
  "activityTypes": [
    {
      "type": "{string}",
      "description": "{string}",
      "templateText": "{string}"
    }
  ]
}
{
  "activityTypes": [
    {
      "type": "{string}",
      "description": "{string}",
      "templateText": "{string}"
    }
  ]
}

Properties

activityTypes

Array of objects representing activity notifications that your app can post to a user's activity feed in Teams. The systemDefault activity type is a reserved value and invalid for use.

Type
Array of activityTypes

Required

Constraints
Maximum array items: 128.

Supported values

Examples

{
    "activities": {
        "activityTypes": [
            {
                "type": "taskCreated",
                "description": "Task created activity",
                "templateText": "<team member> created task <taskId> for you"
            },
            {
                "type": "userMention",
                "description": "Personal mention activity",
                "templateText": "<team member> mentioned you"
            }
        ]
    },
}