class GuildTextChannel
extends GuildTextBasedChannel
import { GuildTextChannel } from "https://deno.land/x/harmony@v2.6.0/src/structures/guildTextChannel.ts";
Constructors
Properties
threads: ChannelThreadsManager
Methods
edit(options?: ModifyGuildTextChannelOption): Promise<GuildTextChannel>
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: GuildTextChannelPayload): void
setSlowmode(slowmode?: number | null): Promise<GuildTextChannel>
Edit Slowmode of the channel
startPrivateThread(options: CreateThreadOptions): Promise<ThreadChannel>
startThread(options: CreateThreadOptions, message: Message | string): Promise<ThreadChannel>