SendMessageAsync
method in Coherence.Cloud.LobbySession
Methods
public Task<bool> SendMessageAsync(List<string> messages, List<Player> targets = null)
Send a message to other Players of the current Lobby.
Parameters
Type | Name | Description |
---|---|---|
List<string> | messages | List of messages to be sent to other Players. |
List<Player> | targets | Optional list of Players to send the messages to. If left empty, it will be send to everyone. |
Returns
Type | Description |
---|---|
Task<bool> |