PublicRoomsFilter

@JsonClass(generateAdapter = true)
data class PublicRoomsFilter(@Json(name = "generic_search_term") val searchTerm: String? = null)

Class to define a filter to retrieve public rooms.

Constructors

Link copied to clipboard
fun PublicRoomsFilter(@Json(name = "generic_search_term") searchTerm: String? = null)

Properties

Link copied to clipboard
val searchTerm: String? = null

A string to search for in the room metadata, e.g. name, topic, canonical alias etc. (Optional).