Room.SendMessageAsync
public async Task<bool> SendMessageAsync(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
Name | Type | Description |
---|---|---|
peerIdList | UInt64[] | array of ids( |
data | Byte[] | arbitrary byte array |
Returns
Type | Description |
---|---|
Task<Boolean> | true if data was send or false |