Channel

class Channel(val id: ChannelId = ChannelId(), var name: String, val type: ChannelType, var description: String, val channelMessages: MutableList<ChannelMessage> = mutableListOf()) : Entity<ChannelId>

Constructors

Link copied to clipboard
constructor(id: ChannelId = ChannelId(), name: String, type: ChannelType, description: String, channelMessages: MutableList<ChannelMessage> = mutableListOf())

Properties

Link copied to clipboard
Link copied to clipboard
open override val id: ChannelId
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun addMessage(channelMessage: ChannelMessage)
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int