Listen to Notification Action Clicked

API 4.0

Touch Portal will send a message when a user clicks on a notification action. When they do the notification is also marked as read/handled. Below is the structure of the message the plug-in receives from Touch Portal.

{
  "type":"notificationOptionClicked",
  "notificationId":"id of the notification",
  "optionId":"id of the option"
}