Capture push notification

can we capture or manage messages from push notification?

Thanks
Teo