ThreadCommentsVariables is an interface representing the variables for the ThreadCommentsQuery. It includes optional page, per page, id, thread id, user id, sort, and as html.

interface ThreadCommentsVariables {
    asHtml?: boolean;
    id?: number;
    page?: number;
    perPage?: number;
    sort?: string[];
    threadId?: number;
    userId?: number;
}

Properties

asHtml?: boolean

asHtml is a boolean representing whether to return the result as HTML.

id?: number

id is a number representing the id of the thread comment.

page?: number

page is a number representing the page number.

perPage?: number

perPage is a number representing the number of items per page.

sort?: string[]

sort is an array of strings representing the sort order.

threadId?: number

threadId is a number representing the id of the thread.

userId?: number

userId is a number representing the id of the user.