DiscordDMChannel

public struct DiscordDMChannel : DiscordTextChannel

Represents a direct message channel with another user.

  • id

    The snowflake id of the channel.

    Declaration

    Swift

    public let id: ChannelID
  • The user this channel is with.

    Declaration

    Swift

    public let recipient: DiscordUser
  • Reference to the client.

    Declaration

    Swift

    public weak var client: DiscordClient?
  • The snowflake id of the last received message on this channel.

    Declaration

    Swift

    public var lastMessageId: MessageID