Class DiscordDmChannel
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
Represents a direct message channel.
public class DiscordDmChannel : DiscordChannel, IEquatable<DiscordChannel>
- Inheritance
-
DiscordDmChannel
- Implements
- 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.
- Managed
Gets whether the channel is managed by an application via the
gdm.join
OAuth2 scope.
- 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, string)
Only use for Group DMs! Whitelisted bots only. Requires user's oauth2 access token.