getJoinedPrivateArchivedThreads

open fun getJoinedPrivateArchivedThreads(before: Snowflake? = null, limit: Int? = null): Flow<ThreadChannel>(source)

Returns archived threads in the channel that are private, and the user has joined. Threads are ordered by their id in descending order. Requires the Read Message History Permission.

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