RoomHistoryVisibility

@JsonClass(generateAdapter = false)
enum RoomHistoryVisibility : Enum<RoomHistoryVisibility>

Ref: https://matrix.org/docs/spec/client_server/latest#room-history-visibility

Entries

Link copied to clipboard
@Json(name = "world_readable")
WORLD_READABLE

All events while this is the m.room.history_visibility value may be shared by any participating homeserver with anyone, regardless of whether they have ever joined the room.

Link copied to clipboard
@Json(name = "shared")
SHARED

Previous events are always accessible to newly joined members. All events in the room are accessible, even those sent when the member was not a part of the room.

Link copied to clipboard
@Json(name = "invited")
INVITED

Events are accessible to newly joined members from the point they were invited onwards. Events stop being accessible when the member's state changes to something other than invite or join.

Link copied to clipboard
@Json(name = "joined")
JOINED

Events are accessible to newly joined members from the point they joined the room onwards. Events stop being accessible when the member's state changes to something other than join.

Properties

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int
Link copied to clipboard
val value: String