ChannelMember

@Serializable
data class ChannelMember(val channelId: String, val playerId: UUID, val role: ChannelRole, val joinedAt: Long = System.currentTimeMillis())(source)

Represents a member of a channel with their role and join timestamp.

Constructors

Link copied to clipboard
constructor(channelId: String, playerId: UUID, role: ChannelRole, joinedAt: Long = System.currentTimeMillis())

Properties

Link copied to clipboard

The ID of the channel.

Link copied to clipboard

The timestamp when the member joined the channel.

Link copied to clipboard
@Serializable(with = UUIDSerializer::class)
val playerId: UUID

The UUID of the player.

Link copied to clipboard

The role of the member in the channel.