@Saurabh R. Mehta , Summarizing our discussion from the comments. Kindly Accept Answer - it will benefit the community to find the answers quickly.
Requirement:
In Azure Chat SDK, the chatMessageReceived
event of chatClient
is triggered on all active threads for the intended communicationUserId
. is any way to limit this event to a specific thread instead of all threads for the intended communicationUserId
?
Scenario:
- User3 is a patient and User1 and User2 are Provider.
- All chat conversation is a sperate Thread and since patient is consulting with two different providers here so Thread2 and Thread3 represents different chat conversation.
Ask:
What we want to do with Azure chat SDK:
When communication is happening on Thread 3 and when User1 sends a message to User3 that message should be received on the same Thread.
We are looking for an event which gets triggered for specific ThreadID. We are in health care domain and we can not broadcast the conversation happening between patient and provider1's Thread to another Thread where the same patient and another provider2 having conversation.
Pointers/approach/behavior confirmation:
Real-time notification is at user level. Users will receive notifications for all chat threads they are involved in. The UI application must determine where and whether a message should be displayed.
If the answer helped (pointed, you in the right direction) > please click Accept Answer - it will benefit the community to find the answers quickly.