Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
function getPrivateJoinedArchivedThreads
import { getPrivateJoinedArchivedThreads } from "https://deno.land/x/discordeno@17.0.1/helpers/channels/mod.ts";

Gets the list of private archived threads the bot is a member of for a channel.

Parameters

bot: Bot
  • The bot instance to use to make the request.
channelId: BigString
  • The ID of the channel to get the archived threads for.
optional
options: ListArchivedThreads
  • The parameters for the fetching of threads.

Returns

Promise<ArchivedThreads>

An instance of ArchivedThreads.