RoomsSyncResponse

@JsonClass(generateAdapter = true)
data class RoomsSyncResponse(    @Json(name = "join") val join: Map<String, RoomSync> = emptyMap(),     @Json(name = "invite") val invite: Map<String, InvitedRoomSync> = emptyMap(),     @Json(name = "leave") val leave: Map<String, RoomSync> = emptyMap())

Constructors

Link copied to clipboard
fun RoomsSyncResponse(    @Json(name = "join") join: Map<String, RoomSync> = emptyMap(),     @Json(name = "invite") invite: Map<String, InvitedRoomSync> = emptyMap(),     @Json(name = "leave") leave: Map<String, RoomSync> = emptyMap())

Properties

Link copied to clipboard
val invite: Map<String, InvitedRoomSync>

Invitations. The rooms that the user has been invited to: keys are rooms ids.

Link copied to clipboard
val join: Map<String, RoomSync>

Joined rooms: keys are rooms ids.

Link copied to clipboard
val leave: Map<String, RoomSync>

Left rooms. The rooms that the user has left or been banned from: keys are rooms ids.