nextspace
    Preparing search index...

    Interface UseMessageModerationReturn

    Return value of the useMessageModeration hook.

    interface UseMessageModerationReturn {
        clearToast: () => void;
        moderation: MessageModeration | undefined;
        toast: ModerationToast | null;
    }
    Index

    Properties

    clearToast: () => void

    Dismisses the notice.

    moderation: MessageModeration | undefined

    Hide controls for the group chat panel; undefined unless the reader is an admin.

    toast: ModerationToast | null

    The notice to show, if any: an author's message was limited, or an admin action failed.