Method SendDirectTextMessageAsync
SendDirectTextMessageAsync(string, string, MessageOptions)
Sends a text message to another logged in user.
Declaration
Task SendDirectTextMessageAsync(string playerId, string message, MessageOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | playerId | The playerId of the logged in user the message will be sent to. |
| string | message | The text of the message to be sent. |
| MessageOptions | options | An optional parameter for adding metadata to the message |
Returns
| Type | Description |
|---|---|
| Task | Task for the operation |