onMessageReceived

abstract override fun onMessageReceived(context: Context, remoteMessage: RemoteMessage)

Called if new message received from Sendbird or the other HMS Provider. Other non-SendbirdChat payloads will be passe through so your app can handle HMS payloads from other back-ends.

Parameters

context

HmsMessageService context

remoteMessage

received message