Skip to content

Interface: QuestionLikeData ​

Response data from Q&A like/unlike toggle and like count endpoints.

Properties ​

dislike_count? ​

ts
optional dislike_count?: number;

Present only when dislike is enabled for the Q&A widget.


disliked? ​

ts
optional disliked?: boolean;

Present only when dislike is enabled for the Q&A widget.


like_count ​

ts
like_count: number;

liked ​

ts
liked: boolean;

question_id ​

ts
question_id: string;