getPublicArchivedThreads

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

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

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