Interface ThreadSearchResults<T>

interface ThreadSearchResults<T> {
    firstMessages?: Message<T>[];
    hasMore: boolean;
    members?: ThreadMember[];
    threads: T[];
    totalResults: number;
}

Type Parameters

Properties

firstMessages?: Message<T>[]

The first message for each returned thread, if included.

hasMore: boolean

Whether there are potentially additional threads that could be returned on a subsequent call.

members?: ThreadMember[]

Thread members for returned threads, if included.

threads: T[]

The resulting threads.

totalResults: number

The total number of results that match the query.