I have 3 different kinds of sending a message in my system.
- Send specifically - I will send a message directly (Like one on one chat)
- Send All - Something like a general message (All can receive my message)
- Send to all but specifically - I will send a message to all of my users but all of them will receive their own, individually personalized message.
An illustration is like this:
Send specifically
Server: (Send) Hi -> Client A: (Received) Hi
Send All
Server (Send) Hi -> Client A: (Received) Hi
-> Client B: (Received) Hi
-> Client C: (Received) Hi
Send to all but specifically
Server (Send) Hi Client A -> Client A: (Received) Hi Client A
Server (Send) Hi Client B -> Client B: (Received) Hi Client B
Server (Send) Hi Client C -> Client C: (Received) Hi Client C