Abstract
Represents any channel on Discord.
Extends
BaseConstructs a new instance of the
BaseChannel
className | Type | Optional | Description |
---|---|---|---|
client | Client<true> | No | None |
data | RawChannelData | Yes | None |
immediatePatch | boolean | Yes | None |
The flags that are applied to the channel. This is only
null
in a PartialGroupDMChannel. In all other cases, it is not null
.Deletes this channel.
Fetches this channel.
Name | Type | Optional | Description |
---|---|---|---|
force | boolean | Yes | Whether to skip the cache check and request the API |
Indicates whether this channel is DM-based (either a DMChannel or a PartialGroupDMChannel).
Indicates whether this channel is .
Indicates whether this channel is a ThreadChannel.
Indicates whether this channel is .
Indicates whether this channel is .
Name | Type | Optional | Description |
---|---|---|---|
...props | Record<string, boolean | string>[] | No | None |
When concatenated with a string, this automatically returns the channel's mention instead of the Channel object.