how to prevent app show up when user clicks notification

Hi, I want to prevent user's MacOS to open app itself when user click its notification. how can I do that? it there any API support that? thanks!

how to prevent app show up when user clicks notification
 
 
Q