@Jakub Pernica Thanks for your patience on this. I have checked with internal team and sharing the below.
As mentioned in the documentation or as you pointed out earlier currently real time notifications are not available for .Net.
Alternatively, you can achieve this, by running a background thread that will keep calling this function GetMessagesAsync()
with a time offset to fetch the messages that have been sent in the past 5-10s.
The other option is to by listening to Event Grid events and route those events to your application about the chat threads events. This is mentioned more here Chat concepts in Azure Communication Services - An Azure Communication Services concept document | Microsoft Learn.
Since you have listening to specific event type you will receive notification form all the other threads as well you need to filter them depending on the customer thread.
You can refer to this sample .Net WinForms wherein timer trigger keeps calling the chatThreadClient.GetMessagesAsync()
function for updates.
Feel free to reach back to me if you have any further questions on this.