Discore
Show / Hide Table of Contents

Class DiscordDMChannel

Direct message channels represent a one-to-one conversation between two users, outside of the scope of guilds.

Inheritance
object
DiscordIdEntity
DiscordChannel
DiscordDMChannel
Implements
ITextChannel
Inherited Members
DiscordChannel.ChannelType
DiscordChannel.IsGuildChannel
DiscordIdEntity.Id
DiscordIdEntity.Equals(DiscordIdEntity)
DiscordIdEntity.Equals(object)
DiscordIdEntity.GetHashCode()
object.Equals(object, object)
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: Discore
Assembly: Discore.dll
Syntax
public class DiscordDMChannel : DiscordChannel, ITextChannel

Properties

Name Description
LastMessageId

Gets the ID of the last message sent in this text channel.

This ID is only up-to-date for when this text channel was first retrieved from the Discord API. It's very likely that this value is outdated.

Use GetChannel<T>(Snowflake) to get an up-to-date ID.
Recipient

Gets the user on the other end of this channel.

Methods

Name Description
ToString()
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX