ToggleLikeV2Mutation is an interface representing the variables to toggle a like. It includes the id of the likeable object and the type of the likeable object.

interface ToggleLikeV2Variables {
    asHtml?: boolean;
    id: number;
    type: LikeableType;
}

Properties

Properties

asHtml?: boolean

asHtml is a boolean representing whether the response should be in HTML format.

id: number

id is a number representing the id of the likeable object.

type is a string representing the type of the likeable object.