docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)