Room.SendMessage

public bool SendMessage(ulong[] peerIdList, byte[] data)

Sends arbitrary data to a array of target peerIds.

Info

associated ids of peers must be in the same room and should not be empty

Parameters

NameTypeDescription
peerIdListUInt64[]array of ids()
dataByte[]arbitrary byte array

Returns

TypeDescription
Booleantrue if data was send or false