Preview environment

interface FetchChannelOptions

export interface FetchChannelOptions extends BaseFetchOptions

Options for fetching a channel from Discord

optional
allowUnknownGuild? : boolean

Allows the channel to be returned even if the guild is not in cache, it will not be cached. Many of the properties and methods on the returned channel will throw errors

optional
cache? : boolean

Whether to cache the fetched data if it wasn't already (default: true)

Inherited from: BaseFetchOptions

optional
force? : boolean

Whether to skip the cache check and request the API

Inherited from: BaseFetchOptions