In-App Reply Event Handlers for Xamarin

Covered here is how to set up the event handler that fires with every new message received for your Xamarin apps.

New Received Message

This block is executed each time a new message is received in the SDK. This can be used to show your own UI when a new message is received when default chat notifications are disabled.

//iOS
Replies.DidReceiveReplyHandler = () => 
{
  Console.WriteLine("Received New Reply!");
};

  
//Android
Replies.setOnNewReplyReceivedCallback(new Runnable() {
	//Your code goes here.
});