.cache

Type: Collection

.client

Type: Client

.shouldCacheChannel

.create(options:RESTPostChannelsBody)

Type: Promise<Channel>

Create a new channel

.delete(channelId:

string

)

Type: Promise<unknown>

Delete a channel by ID

.fetch(channelId:

string

,

force:

boolean

)

Type: Promise<Channel>

Fetch a channel by ID Notice: if you're using TypeScript, you will need to upcast to your desired channel type.

.update(channelId:

string

,

options:RESTPatchChannelBody)

Type: Promise<Channel>

Update a channel by ID