DMChannel
DMChannel ⇐ TextBasedChannels
Represents a direct message channel in Discord.
Kind: global class
Extends: TextBasedChannels
new DMChannel([data], [guildId], client)
Constructs a new instance of the class.
Param | Type | Default | Description |
---|---|---|---|
[data] | Object | The data for the DM channel. | |
[guildId] | string | null | null | The ID of the guild that the DM channel belongs to. |
client | Client | The client that instantiated this DM channel. |