ThreadsVariables is an interface representing the variables for the ThreadsQuery. It includes optional page, per page, id, user id, reply user id, subscribed, category id, media category id, search, id in, sort, and as html.

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

Properties

asHtml?: boolean

asHtml is a boolean representing 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 of the threads that should be included.

mediaCategoryId?: number

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

page?: number

page is a number representing the page number.

perPage?: number

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

replyUserId?: number

replyUserId is a number representing the id of the reply user.

search?: string

search is a string representing the search term.

sort?: string[]

sort is an array of strings representing the sort order.

subscribed?: boolean

subscribed is a boolean representing whether the user is subscribed.

userId?: number

userId is a number representing the id of the user.