Are you an LLM? You can read better optimized documentation at /documentation/api/query-core/functions/historyQueryOptions.md for this page in Markdown format
ws-asyncapi API / query-core / historyQueryOptions
Function: historyQueryOptions()
historyQueryOptions(
client,keyPrefix,room,limit?):object
Defined in: .api-entries/query-core/index.d.ts:62
Options for a room-history query. Spread into any framework's useQuery.
Parameters
client
keyPrefix
string
room
string
limit?
number
Returns
object
queryKey
queryKey:
unknown[]
queryFn
queryFn: () =>
Promise<object[]>
Returns
Promise<object[]>