ruma::events::room::history_visibility

Type Alias RoomHistoryVisibilityEvent

Source
pub type RoomHistoryVisibilityEvent = StateEvent<RoomHistoryVisibilityEventContent>;
Available on crate feature events only.
Expand description

An m.room.history_visibility event.

Aliased Type§

enum RoomHistoryVisibilityEvent {
    Original(OriginalStateEvent<RoomHistoryVisibilityEventContent>),
    Redacted(RedactedStateEvent<RedactedRoomHistoryVisibilityEventContent>),
}

Variants§

§

Original(OriginalStateEvent<RoomHistoryVisibilityEventContent>)

Original, unredacted form of the event.

§

Redacted(RedactedStateEvent<RedactedRoomHistoryVisibilityEventContent>)

Redacted form of the event with minimal fields.