Answer the question
In order to leave comments, you need to log in
Sending real-time messages?
Hello.
There is a website, users and a small admin panel.
The admin panel has fields: user and message. The admin fills in these fields and a real-time message is sent to the user.
There are 2 options:
1. The user is currently on the site and then he immediately sees a popup with a message. This option works fine.
2. The user is not currently on the site, but it should appear when he enters the site.
Can you suggest how this is implemented?
Answer the question
In order to leave comments, you need to log in
You create a notification through Notification, which is available out of the box and send it to the user. This way, he will be able to see the message when he visits the site.
For real-time, you can use Pusher. In general, read this article , everything is chewed as much as possible.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question