Represents a direct message channel between two users.
Extends
TextBasedChannelMixin(BaseChannel, false, [ 'bulkDelete', 'fetchWebhooks', 'createWebhook', 'setRateLimitPerUser', 'setNSFW',])The flags that are applied to the channel. This is only
null
in a PartialGroupDMChannel. In all other cases, it is not null
.Fetch this DMChannel.
Name | Type | Optional | Description |
---|---|---|---|
force | boolean | Yes | Whether to skip the cache check and request the API |
When concatenated with a string, this automatically returns the recipient's mention instead of the DMChannel object.