Public Room
@JsonClass(generateAdapter = true )
Class representing the objects returned by /publicRooms call.
Constructors
Link copied to clipboard
constructor(@Json(name = "aliases" ) aliases: List<String>? = null, @Json(name = "canonical_alias" ) canonicalAlias: String? = null, @Json(name = "name" ) name: String? = null, @Json(name = "num_joined_members" ) numJoinedMembers: Int = 0, @Json(name = "room_id" ) roomId: String, @Json(name = "topic" ) topic: String? = null, @Json(name = "world_readable" ) worldReadable: Boolean = false, @Json(name = "guest_can_join" ) guestCanJoin: Boolean = false, @Json(name = "avatar_url" ) avatarUrl: String? = null, @Json(name = "m.federate" ) isFederated: Boolean = false)
Functions
Properties
Link copied to clipboard
The canonical alias of the room, if any.
Link copied to clipboard
Required. Whether guest users may join the room and participate in it. If they can, they will be subject to ordinary power level rules like any other user.
Link copied to clipboard
Undocumented item.
Link copied to clipboard
Required. The number of members joined to the room.
Link copied to clipboard
Required. Whether the room may be viewed by guest users without joining.