# Send a channel message

> Learn about voice channels in Vivox Core.

You can send a message to a channel by using IChannelSession.BeginSendText(string message, AsyncCallback callback) on a reference to the channel session to target, with a string message to send and an AsyncCallback that runs channelSession.EndSendText.

The following code snippet displays an example implementation for sending a message to a channel:

```plaintext
channelSession.BeginSendText(messageToSend, ar =>
{
    try
    {
        channelSession.EndSendText(ar);
    }
    catch (System.Exception e)
    {
        Debug.Log($"EndSendText() threw {e}");
        return;
    }
});
```

To provide more information, you can also use IAsyncResult BeginSendText(string language, string message, string applicationStanzaNamespace, string applicationStanzaBody, AsyncCallback callback);.
