Listening to Events
Learn how to listen and handle WhatsApp events.
π‘
See Full Documentation<br />
For complete information on listening to events, see the Complete Events Documentation.
Listen to Events
use ScriptDevelop\WhatsappManager\Events\TextMessageReceived;
Event::listen(TextMessageReceived::class, function ($event) {
// Handle event
});