ruma::events::room::history_visibility

Type Alias SyncRoomHistoryVisibilityEvent

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

An m.room.history_visibility event from a sync_events response.

Aliased Type§

enum SyncRoomHistoryVisibilityEvent {
    Original(OriginalSyncStateEvent<RoomHistoryVisibilityEventContent>),
    Redacted(RedactedSyncStateEvent<RedactedRoomHistoryVisibilityEventContent>),
}

Variants§

§

Original(OriginalSyncStateEvent<RoomHistoryVisibilityEventContent>)

Original, unredacted form of the event.

§

Redacted(RedactedSyncStateEvent<RedactedRoomHistoryVisibilityEventContent>)

Redacted form of the event with minimal fields.