Ratchet + Push + Whatsapp Integration
Hello @cboden .

My name is Alan Borim and I am an enthusiastic programmer here in Brazil, my client needs me to do a chatbot for whatsapp, which is working well, but now things are more serious than I thought.

he needs me to implement a web chat for their customers to talk to customer service, so I discovered Ratchet, which was wonderful, all the chat part is working and I was able to integrate the chat to send messages to whatsapp (cs-> whats) perfectly.

The problem is the opposite, all messages are sent from whatsapp (whats-> cs) to a single file, this file is called callback and is in another area of ​​the server.

What I need to know is how to get the ratchet to be triggered exactly the moment a new message arrives in the database, within some characteristics.

I am studying ZeroMQ, within the Push interaction that is described on the website but I was unable to understand the way they both connect.

Could you give me a light on how to solve this case?
