interface FetchArchivedThreadOptions

export interface FetchArchivedThreadOptions

The options used to fetch archived threads.

Only return threads that were archived before this Date or Snowflake Must be a ThreadChannelResolvable when type is private and fetchAll is false.

optional
fetchAll? : boolean

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

optional
limit? : number

Maximum number of threads to return

optional
type? : 'public' | 'private'

The type of threads to fetch (public or private)