class GuildThreadAvailableChannel
extends GuildChannel
import { GuildThreadAvailableChannel } from "https://deno.land/x/harmony@v2.8.0/src/structures/guildThreadAvailableChannel.ts";
Constructors
Properties
threads: ChannelThreadsManager
Methods
edit(options?: ModifyGuildThreadAvailableChannelOption): Promise<GuildThreadAvailableChannel>
Edit the Guild Text Channel
fetchArchivedThreads(type?: "public" | "private", params?: { before?: string; limit?: number; }): Promise<{ threads: ThreadChannel[]; members: ThreadMember[]; hasMore: boolean; }>
fetchJoinedPrivateArchivedThreads(params?: { before?: string; limit?: number; }): Promise<{ threads: ThreadChannel[]; members: ThreadMember[]; hasMore: boolean; }>
fetchPrivateArchivedThreads(params?: { before?: string; limit?: number; }): Promise<{ threads: ThreadChannel[]; members: ThreadMember[]; hasMore: boolean; }>
fetchPublicArchivedThreads(params?: { before?: string; limit?: number; }): Promise<{ threads: ThreadChannel[]; members: ThreadMember[]; hasMore: boolean; }>
readFromData(data: GuildThreadAvailableChannelPayload): void
setDefaultAutoArchiveDuration(slowmode?: number | null): Promise<GuildThreadAvailableChannel>
Edit Default Auto Archive Duration of threads
setDefaultThreadSlowmode(slowmode?: number | null): Promise<GuildThreadAvailableChannel>
Edit Default Slowmode of the threads in the channel
setSlowmode(slowmode?: number | null): Promise<GuildThreadAvailableChannel>
Edit Slowmode of the channel
setTopic(topic: string): Promise<GuildThreadAvailableChannel>
Edit topic of the channel
startPrivateThread(options: CreateThreadOptions): Promise<ThreadChannel>
startThread(options: CreateThreadOptions, message?: Message | string): Promise<ThreadChannel>