Forum Discussion
mkryvchun
Oct 25, 2023Copper Contributor
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-MSFTMicrosoftmkryvchun-Thanks for reporting your issue.
We will check this at our end and will get back to you.- mkryvchunCopper ContributorThank you
- Sayali-MSFTMicrosoftmkryvchun-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.