onAction

open fun onAction(actionId: String, notificationId: Int, payload: Map<String, Any?>)

Called when a notification action is triggered

Parameters

actionId

The ID of the action that was triggered

notificationId

The ID of the notification

payload

The payload data from the notification