docs.unity3d.com
    Show / Hide Table of Contents

    Struct TextChatMessage

    Shows a text message sent into a room.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: Unity.Cloud.Presence
    Syntax
    public struct TextChatMessage

    Constructors

    TextChatMessage(String, String, DateTime)

    Declaration
    public TextChatMessage(string senderId, string message, DateTime timestamp)
    Parameters
    Type Name Description
    String senderId
    String message
    DateTime timestamp

    Fields

    Message

    Gets the message.

    Declaration
    public readonly string Message
    Field Value
    Type Description
    String

    SenderId

    Gets the Id of the message sender.

    Declaration
    public readonly string SenderId
    Field Value
    Type Description
    String

    Timestamp

    Gets the time the message was received.

    Declaration
    public readonly DateTime Timestamp
    Field Value
    Type Description
    DateTime

    Extension Methods

    GenericDataExtensions.SerializeToByteArray(Object)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023