Developer Documentation

Room.SendMessageAsync

Warning

Version 1.1.0 is deprecated and will be removed in the future and is not being supported for new users. Please update to the latest version as soon as possible.

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

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

Returns

TypeDescription
Task<Boolean>true if data was send or false