interface FetchArchivedThreadOptions

export interface FetchArchivedThreadOptions

The options used to fetch archived threads.

Only return threads that were archived before this Dateor SnowflakeMust be a ThreadChannelResolvable when type is private and fetchAll is false.

optional
fetchAll? : boolean = false

Whether to fetch **all** archived threads when type is privateThis property requires the PermissionFlagsBits.ManageThreads permission if true.

optional
limit? : number

Maximum number of threads to return

optional
type? : 'private' | 'public' = 'public'

The type of threads to fetch (public or private)