Table of Contents

Interface IDMChannel

Namespace
Discord
Assembly
Discord.Net.Core.dll

Represents a generic direct-message channel.

public interface IDMChannel : IMessageChannel, IPrivateChannel, IChannel, ISnowflakeEntity, IEntity<ulong>
Inherited Members
Extension Methods

Properties

Recipient

Gets the recipient of all messages in this channel.

IUser Recipient { get; }

Property Value

IUser

A user object that represents the other user in this channel.

Methods

CloseAsync(RequestOptions)

Closes this private channel, removing it from your channel list.

Task CloseAsync(RequestOptions options = null)

Parameters

options RequestOptions

The options to be used when sending the request.

Returns

Task

A task that represents the asynchronous close operation.