getPrivateArchivedThreads

open override fun getPrivateArchivedThreads(before: Instant?, limit: Int?): Flow<TextChannelThread>(source)

Returns archived threads in the channel that are private. Threads are ordered by ThreadChannel.archiveTimestamp in descending order. Requires the Read Message History Permission and Manage Threads Permission

The returned flow is lazily executed, any RequestException will be thrown on terminal operators instead.