Type Alias StateRoomEncryptedEvent

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

An m.room.encrypted event.

Aliased Type§

pub enum StateRoomEncryptedEvent {
    Original(OriginalStateEvent<StateRoomEncryptedEventContent>),
    Redacted(RedactedStateEvent<RedactedStateRoomEncryptedEventContent>),
}

Variants§

§

Original(OriginalStateEvent<StateRoomEncryptedEventContent>)

Original, unredacted form of the event.

§

Redacted(RedactedStateEvent<RedactedStateRoomEncryptedEventContent>)

Redacted form of the event with minimal fields.