Type Alias ruma::events::room::encryption::SyncRoomEncryptionEvent

source ·
pub type SyncRoomEncryptionEvent = SyncStateEvent<RoomEncryptionEventContent>;
Available on crate feature events only.
Expand description

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

Aliased Type§

enum SyncRoomEncryptionEvent {
    Original(OriginalSyncStateEvent<RoomEncryptionEventContent>),
    Redacted(RedactedSyncStateEvent<RedactedRoomEncryptionEventContent>),
}

Variants§

§

Original(OriginalSyncStateEvent<RoomEncryptionEventContent>)

Original, unredacted form of the event.

§

Redacted(RedactedSyncStateEvent<RedactedRoomEncryptionEventContent>)

Redacted form of the event with minimal fields.