AI Dev Kit
Search Results for

    Show / Hide Table of Contents

    Class ChatEventHandler

    Base class for chat-related event handlers. Contains common events shared by all chat systems.

    Inheritance
    object
    AIDevKitEventHandler
    ChatEventHandler
    NonStreamingChatEventHandler
    StreamingChatEventHandler
    Inherited Members
    AIDevKitEventHandler.onError
    Namespace: Glitch9.AIDevKit.Components
    Assembly: .dll
    Syntax
    public abstract class ChatEventHandler : AIDevKitEventHandler

    Fields

    onMessageBlocked

    Invoked when a message is blocked due to moderation.

    Declaration
    public UnityEvent<string> onMessageBlocked
    Field Value
    Type Description
    UnityEvent<string>

    onMessageSent

    Invoked when a message is successfully sent by the user.

    Declaration
    public UnityEvent<ChatMessage> onMessageSent
    Field Value
    Type Description
    UnityEvent<ChatMessage>
    In this article
    Back to top Generated by DocFX