Method SendChannelTextMessageAsync
SendChannelTextMessageAsync(string, string, MessageOptions)
Sends a text message to a channel the user is connected to.
Declaration
Task SendChannelTextMessageAsync(string channelName, string message, MessageOptions options = null)
Parameters
Type | Name | Description |
---|---|---|
string | channelName | The name of the channel 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 |