Diarkis C# SDK
Diarkis C++ SDK
License and billing information
How To Send A Message To Selected Members Of Room
You may send a message to selected members of the room instead of all members.
The message will be delivered by OnMemberMessage.
We recommend your message includes the senders user ID and other information so that the recipients may detect who has sent the message and behave accordingly.
// List of member IDs to send the message to
List<string> memberIDs = new List<string>();
byte message = Encoding.UTF8.GetBytes("Hello");
bool reliable = false; // for UDP, if set to true, broadcast message will be sent as an RUDP packet
room.MessageTo(memberIDs, room.GetRoomID(), message, reliable);