Represents a direct message channel between two users.
ExtendsTextBasedChannelMixin(BaseChannel, false, [ 'bulkDelete', 'fetchWebhooks', 'createWebhook', 'setRateLimitPerUser', 'setNSFW',])
The client that instantiated this
The time the channel was created at
The timestamp the channel was created at
The flags that are applied to the channel. This is only
nullin a PartialGroupDMChannel. In all other cases, it is not
The channel's id
The Message object of the last message in the channel, if one was sent
The channel's last message id, if one was sent
The date when the last pinned message was pinned, if there was one
The timestamp when the last pinned message was pinned, if there was one
A manager of the messages belonging to this channel
Whether this DMChannel is a partial
The recipient's id
The type of the channel
The URL to the channel
Collects a single component interaction that passes the filter. The Promise will reject if the time expires.
Similar to createMessageCollector but in promise form. Resolves with a collection of messages that pass the specified filter.
Creates a Message Collector.
Creates a component interaction collector.
Fetch this DMChannel.
Sends a message to this channel.
Sends a typing indicator in the channel.
ReturnsResolves upon the typing status being sent *
When concatenated with a string, this automatically returns the recipient's mention instead of the DMChannel object.