diff --git a/src/types/channels/list_active_threads.ts b/src/types/channels/list_active_threads.ts new file mode 100644 index 000000000..da542f7f7 --- /dev/null +++ b/src/types/channels/list_active_threads.ts @@ -0,0 +1,11 @@ +import { ThreadMember } from "../messages/thread_member.ts"; +import { Channel } from "./channel.ts"; + +export interface ListActiveThreads { + /** The active threads */ + threads: Channel[]; + /** A thread member object for each returned thread the current user has joined */ + members: ThreadMember[]; + /** Whether there are potentially additional threads that could be returned on subsequent call */ + hasMore: boolean; +}