-
Parent class
Declaration
Swift
public internal(set) weak var sword: Sword? -
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
View on GitHub
DM Struct Reference