DM

public struct DM: TextChannel

DM Type

  • Parent class

    Declaration

    Swift

    public internal(set) weak var sword: Sword?
  • id

    ID of DM

    Declaration

    Swift

    public let id: Snowflake
  • The recipient of this DM

    Declaration

    Swift

    public internal(set) var recipient: User
  • The last message’s ID

    Declaration

    Swift

    public let lastMessageId: Snowflake?
  • Indicates what kind of channel this is

    Declaration

    Swift

    public let type = ChannelType.dm