FetchArchivedThreadOptions
typedef · Source
The options used to fetch archived threads. Type: Object
Properties
type
optional
type: string
The type of threads to fetch, either public or private
Default: 'public'
fetchAll
optional
fetchAll: boolean
Whether to fetch all archived threads when type is private. Requires MANAGE_THREADS if true
Default: false
before
optional
before: DateResolvable | ThreadChannelResolvable
Only return threads that were archived before this Date or Snowflake. Must be a ThreadChannelResolvable when type is private and fetchAll is false
limit
optional
limit: number
Maximum number of threads to return