Class DiscordDmChannel
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
Represents a discord channel.
public class DiscordDmChannel : DiscordChannel
- Inheritance
-
DiscordDmChannel
- Inherited Members
- Extension Methods
Properties
- ApplicationId
Gets the application ID of the direct message's creator if it a bot.
- IconHash
Gets the hash of this channel's icon.
- IconUrl
Gets the URL of this channel's icon.
- OwnerId
Gets the ID of this direct message's creator.
- Recipients
Gets the recipients of this direct message.
Methods
- AddDmRecipientAsync(ulong, string, string)
Only use for Group DMs! Whitelisted bots only. Requires user's oauth2 access token
- RemoveDmRecipientAsync(ulong)
Only use for Group DMs!