onMessageReceived

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

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

Parameters

context

FirebaseMessagingService context

remoteMessage

received message