-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Description
Github issues should be used for bugs and feature requests. Use Stack Overflow for general "how-to" questions.
Version
4.22.7
Describe the bug
Hi, we have faced an issue, when the user sends an message to MS Teams with importance flag webhook to messaging endpoint does not contain this information. Could someone assist with it? Is it expected behaviour?
To Reproduce
Steps to reproduce the behavior:
- Create chat in MS Teams
- Add bot to the chat
- Send message with importance flag "high"
Expected behavior
Received ITurnContext turnContext in OnMessageActivityAsync
turnContext.Activity.Importance is not null
Screenshots


Additional context
We receive such a payload from Azure Bot Service which does not contain importance flag at all
{ "text": "wqweqweqweqweq important\r\n ", "textFormat": "plain", "attachments": [ { "contentType": "text/html", "content": "<p>wqweqweqweqweq important</p>\r\n<p> </p>" } ], "type": "message", "timestamp": "2025-09-01T09:31:06.0252882Z", "localTimestamp": "2025-09-01T11:31:06.0252882+02:00", "id": "1756719066008", "channelId": "msteams", "serviceUrl": "https://smba.trafficmanager.net/emea/some-id/", "from": { "id": "some id", "name": "Yaroslav Andrieiev", "aadObjectId": "some id" }, "conversation": { "isGroup": true, "conversationType": "groupChat", "tenantId": "some tenant id", "id": "some id" }, "recipient": { "id": "some id", "name": "Cirro dev " }, "entities": [ { "locale": "en-US", "country": "US", "platform": "Web", "timezone": "some timezone", "type": "clientInfo" } ], "channelData": { "tenant": { "id": "some id" } }, "locale": "en-US", "localTimezone": "some timezone" }
Tracking Status
Dotnet SDK TODO
- PR
- Merged
Javascript SDK TODO
- PR
- Merged
Python SDK TODO
- PR
- Merged
Java SDK TODO
- PR
- Merged
Samples TODO
- PR
- Merged
Docs TODO
- PR
- Merged
Tools TODO
- PR
- Merged