Package org.matrix.android.sdk.api.session.room.model.create

Types

Link copied to clipboard
@JsonClass(generateAdapter = true)
open class CreateRoomParams
Link copied to clipboard
@JsonClass(generateAdapter = false)
enum CreateRoomPreset : Enum<CreateRoomPreset>
Link copied to clipboard
@JsonClass(generateAdapter = true)
data class CreateRoomStateEvent(    val type: String,     val content: Content,     val stateKey: String = "")
Link copied to clipboard
@JsonClass(generateAdapter = true)
data class Predecessor(@Json(name = "room_id") val roomId: String? = null, @Json(name = "event_id") val eventId: String? = null)

A link to an old room in case of room versioning.

Link copied to clipboard
class RestrictedRoomPreset(val homeServerCapabilities: HomeServerCapabilities, val restrictedList: List<RoomJoinRulesAllowEntry>) : RoomFeaturePreset
Link copied to clipboard
@JsonClass(generateAdapter = true)
data class RoomCreateContent(    @Json(name = "creator") val creator: String? = null,     @Json(name = "room_version") val roomVersion: String? = null,     @Json(name = "predecessor") val predecessor: Predecessor? = null,     @Json(name = "type") val type: String? = null)

Content of a m.room.create type event.

Link copied to clipboard
interface RoomFeaturePreset