Forum Discussion

mkryvchun's avatar
mkryvchun
Copper Contributor
Oct 25, 2023

Wrong notification subtitle in 1-to-1 chats on Android

Summary
Activity notification subtitles are incorrect in one-on-one chats on Android.

Actual result

This is an activity notification on Android. The subtitle shows "Chat with Worldr", Worldr is the application name.

 

Expected result

This is the same activity notification, but in Web. It shows the name of the one-on-one chat, as expected

API Request

The following Graph API request was used to create the examples, {chat_id} and {user_id} are replaced. The request used an application token.

POST  https://graph.microsoft.com/v1.0/chats/{chat_id}/sendActivityNotification

 

{
    "topic": {
        "source": "entityUrl",
        "value": "https://graph.microsoft.com/v1.0/chats/{chat_id}"
    },
    "activityType": "message",
    "previewText": {
        "content": "Hello, World"
    },
    "recipient": {
        "@odata.type": "microsoft.graph.aadUserNotificationRecipient",
        "userId": "{user_id}"
    },
    "templateParameters": [
        {
            "name": "tabName",
            "value": "Example"
        }
    ]
}

 

 

 

 

      • Sayali-MSFT's avatar
        Sayali-MSFT
        Icon for Microsoft rankMicrosoft
        mkryvchun-We are trying to reproduce the issue and encountering some difficulties while doing so. We will update you as soon as we are able to replicate it.

Resources