Contains information about work item comment reaction for a particular reaction type.

interface CommentReaction {
    _links?: any;
    commentId?: number;
    count?: number;
    isCurrentUserEngaged?: boolean;
    type?: CommentReactionType;
    url?: string;
}

Hierarchy (View Summary)

Properties

_links?: any

Link references to related REST resources.

commentId?: number

The id of the comment this reaction belongs to.

count?: number

Total number of reactions for the CommentReactionType.

isCurrentUserEngaged?: boolean

Flag to indicate if the current user has engaged on this particular EngagementType (e.g. if they liked the associated comment).

Type of the reaction.

url?: string

REST URL for the resource.