Documentation - v1.2.0-alpha.10
    Preparing search index...

    Data returned when feedback has been enabled and a messages thumbs-up or thumbs-down button is clicked.

    interface FeedbackLoopData {
        actionName: "feedback";
        actionValue: {
            feedback: string | Record<string, any>;
            reaction: "like" | "dislike";
        };
        replyToId: string;
    }
    Index

    Properties

    actionName: "feedback"

    The name of the action, which is always 'feedback' for feedback loop data.

    actionValue: {
        feedback: string | Record<string, any>;
        reaction: "like" | "dislike";
    }

    The value of the action, which contains the reaction and feedback provided by the user.

    Type Declaration

    • feedback: string | Record<string, any>

      The response the user provides when prompted with "What did you like/dislike?" after pressing one of the feedback buttons.

    • reaction: "like" | "dislike"

      'like' or 'dislike'

    replyToId: string

    The activity ID that the feedback was provided on.