Package-level declarations
Types
Link copied to clipboard
data class ChannelDTO(val id: String, val name: String, val type: String, var description: String, val messages: MutableList<ChannelMessageDTO> = mutableListOf())
Link copied to clipboard
data class ChannelMessageDTO(val id: String, val sender: String, val content: String, val timestamp: String = java.time.Instant.now().toString())
Link copied to clipboard
data class ServerDTO(val id: String, val name: String, val description: String = "", val owner: String, val users: MutableList<String> = mutableListOf(owner), val channels: MutableList<ChannelDTO> = mutableListOf())