How to send a activity feed notification with a query on Teams?

Viewed 23

I've been developing a Teams Custom App with the TeamsFx SDK. I want to send a activity feed notification with a query.

I tried the HTTP request as below, however the app wasn't able to recieve a query(hoge=123).

POST https://graph.microsoft.com/v1.0/users/{user id}/teamwork/sendActivityNotification
Content-Type: application/json
{
    "topic": {
        "source": "entityUrl",
        "value": "https://graph.microsoft.com/v1.0/users/{user id}/teamwork/installedApps/{installation id}?hoge=123"
    },
    "activityType": "taskCreated",
    "previewText": {
        "content": "New Task Created"
    },
    "templateParameters": [
        {
            "name": "taskId",
            "value": "Task 12322"
        }
    ]
}

Is there any wat to send a activity feed notification with a query?

0 Answers
Related