To notify users of a multiple-room chat application about new messages posted on their chat rooms, you can use:
- Global notification channel: this channel receives notification of change events such as when a new message has been posted in room ABC. This channel is an always-on global channel to which all users are connected.
- Chat room channel: this channel broadcasts the chat message text. The user subscribes to this channel when joining a chat room and unsubscribes when leaving the chat room.
In case of any questions, contact us at email@example.com.