action

The action read-only property of the NotificationEvent interface returns the string ID of the notification button the user clicked.

MDN Reference