case class DMChannel(id: SnowflakeType[DMChannel], lastMessageId: Option[MessageId], userId: UserId) extends Channel with TextChannel with GetUser with Product with Serializable
Ordering
- Alphabetic
- By Inheritance
Inherited
- DMChannel
- Serializable
- Product
- Equals
- GetUser
- TextChannel
- Channel
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
Value Members
- def channelType: ChannelType
The channel type of this channel
- val id: SnowflakeType[DMChannel]
The id of the channel
The id of the channel
- Definition Classes
- DMChannel → TextChannel → Channel
- def lastMessage(implicit c: CacheSnapshot): Option[Message]
Gets the last message for this channel if it exists.
Gets the last message for this channel if it exists.
- Definition Classes
- TextChannel
- val lastMessageId: Option[MessageId]
Points to the last message id in the channel.
Points to the last message id in the channel. The id might not point to a valid or existing message.
- Definition Classes
- DMChannel → TextChannel
- def mention: String
Get a representation of this channel that can refer to it in messages.
Get a representation of this channel that can refer to it in messages.
- Definition Classes
- Channel
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def user(implicit snapshot: CacheSnapshot): Option[User]
The user for this object
The user for this object
- Definition Classes
- GetUser
- val userId: UserId