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.2.0/plugins/cache/deps.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

An instance of ArchivedThreads.