I want my app to receive WhatsApp messages, check the content (I'm planning to do some deep learning methods using the message content) and then push the notification and deside if to silence it or not.
Basically I'm building an application that silence non-urgent WhatsApp messages (using machine learning to deside whether it's urgent or not).
How can I receive WhatsApp messages to my app and mute some of them?