ThreadVariables is an interface representing the variables for the ThreadQuery. It includes optional parameters for querying thread data.

interface ThreadVariables {
    asHtml?: boolean;
    categoryId?: number;
    id?: number;
    id_in?: number[];
    mediaCategoryId?: number;
    replyUserId?: number;
    search?: string;
    sort?: ThreadSort[];
    subscribed?: boolean;
    userId?: number;
}

Properties

asHtml?: boolean

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

categoryId?: number

categoryId is a number representing the id of the category.

id?: number

id is a number representing the id of the thread.

id_in?: number[]

id_in is an array of numbers representing the ids to include in the search.

mediaCategoryId?: number

mediaCategoryId is a number representing the id of the media category.

replyUserId?: number

replyUserId is a number representing the id of the user who replied.

search?: string

search is a string representing the search term.

sort?: ThreadSort[]

sort is an array of strings representing the sort order of the thread.

subscribed?: boolean

subscribed is a boolean indicating whether the user is subscribed to the thread.

userId?: number

userId is a number representing the id of the user.