RoomAliasDescription

@JsonClass(generateAdapter = true)
data class RoomAliasDescription(@Json(name = "room_id") val roomId: String, @Json(name = "servers") val servers: List<String> = emptyList())

Constructors

Link copied to clipboard
fun RoomAliasDescription(@Json(name = "room_id") roomId: String, @Json(name = "servers") servers: List<String> = emptyList())

Properties

Link copied to clipboard
val roomId: String

The room ID for this alias.

Link copied to clipboard
val servers: List<String>

A list of servers that are aware of this room ID.