import { ChannelThreadsManager } from "https://deno.land/x/harmony@v2.6.0/src/managers/channelThreads.ts";
Constructors
Properties
channel: GuildTextChannel
parent: BaseManager<ThreadChannelPayload, ThreadChannel>
Methods
array(): Promise<ThreadChannel[]>
delete(id: string | ThreadChannel): Promise<boolean>
Delete a Thread Channel
fetchArchived(type?: "public" | "private", params?: { before?: string; limit?: number; }): Promise<{ threads: ThreadChannel[]; members: ThreadMember[]; hasMore: boolean; }>
fetchJoinedPrivateArchived(params?: { before?: string; limit?: number; }): Promise<{ threads: ThreadChannel[]; members: ThreadMember[]; hasMore: boolean; }>
fetchPrivateArchived(params?: { before?: string; limit?: number; }): Promise<{ threads: ThreadChannel[]; members: ThreadMember[]; hasMore: boolean; }>
fetchPublicArchived(params?: { before?: string; limit?: number; }): Promise<{ threads: ThreadChannel[]; members: ThreadMember[]; hasMore: boolean; }>
flush(): Promise<boolean>
get(id: string): Promise<ThreadChannel | undefined>
start(options: CreateThreadOptions, message: string | Message): Promise<ThreadChannel>
startPrivate(options: CreateThreadOptions): Promise<ThreadChannel>