Can I detect where a button of an actionable notification was pressed?

Hi,

If we implement actionable notifications on iOS, the buttons corresponding the actions are displayed on the Apple Watch as well.

I wonder if I could detect that the button was tapped on the Apple Watch or on the iPhone, so I could react to it differently.