Private Messaging

Top  Previous  Next

Private messaging occurs between one and many users. A user can send a message directly to 1 or more other users. These users don’t have to be in the same room, or in any room for that matter.

 

A private message is made up of three pieces:

The list of users – This is the list of users that should receive the message.
The message body - is most typically what you would see appear in a chat window.
An optional EsObject – An EsObject is a highly flexible serialization format supported all over ElectroServer. This provides an easy way for users to send simple or complex data to user users. Example: you want to send a chat message to the room but an audio clip, animation, or other non-text action needs to be performed when the message is displayed. This can easily be achieved by sending extra data via EsObject along with the public message.