Type Alias SyncStateRoomEncryptedEvent

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

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

Aliased Type§

pub enum SyncStateRoomEncryptedEvent {
    Original(OriginalSyncStateEvent<StateRoomEncryptedEventContent>),
    Redacted(RedactedSyncStateEvent<RedactedStateRoomEncryptedEventContent>),
}

Variants§

§

Original(OriginalSyncStateEvent<StateRoomEncryptedEventContent>)

Original, unredacted form of the event.

§

Redacted(RedactedSyncStateEvent<RedactedStateRoomEncryptedEventContent>)

Redacted form of the event with minimal fields.