add: ListActiveThreads

This commit is contained in:
ITOH
2021-05-01 11:13:23 +02:00
parent 111dde1020
commit b2fbfeb08e

View File

@@ -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;
}