I haven a Laravel app with a chat functionality which is working with an event called MessageSent. This event is broadcasted to a private channel, following the instructions of the documentation.
This is working for my web listener, but now I need to send a notification to my FCM and APN channels.
What's a good approach to achieve this functionality? Do I have to create a notification or does this event class MessageSent works for broadcast on FCM and APN channels?
Thanks in advance.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…