Optional asasHtml is a boolean representing whether to return the result as HTML.
Optional categorycategoryId is a number representing the id of the category.
Optional idid is a number representing the id of the thread.
Optional id_id_in is an array of numbers representing the ids of the threads that should be included.
Optional mediamediaCategoryId is a number representing the id of the media category.
Optional pagepage is a number representing the page number.
Optional perperPage is a number representing the number of items per page.
Optional replyreplyUserId is a number representing the id of the reply user.
Optional searchsearch is a string representing the search term.
Optional sortsort is an array of strings representing the sort order.
Optional subscribedsubscribed is a boolean representing whether the user is subscribed.
Optional useruserId is a number representing the id of the user.
ThreadsVariablesis an interface representing the variables for theThreadsQuery. 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.