docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct ChatMessageActionsContext

    What renderActions is told about the message it is building a row for.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.AppUI.UI
    Assembly: Unity.AppUI.dll
    Syntax
    public readonly struct ChatMessageActionsContext

    Constructors

    ChatMessageActionsContext(ChatMessage, ChatRole)

    Constructs the context.

    Declaration
    public ChatMessageActionsContext(ChatMessage message, ChatRole role)
    Parameters
    Type Name Description
    ChatMessage message

    The message.

    ChatRole role

    Who authored it.

    Properties

    message

    The message the row belongs to.

    Declaration
    public ChatMessage message { get; }
    Property Value
    Type Description
    ChatMessage

    role

    Who authored it. Never System — system messages carry no action row.

    Declaration
    public ChatRole role { get; }
    Property Value
    Type Description
    ChatRole
    In This Article
    Back to top
    Copyright © 2026 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)