ruma::events::room::encryption

Type Alias RoomEncryptionEvent

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

An m.room.encryption event.

Aliased Type§

enum RoomEncryptionEvent {
    Original(OriginalStateEvent<RoomEncryptionEventContent>),
    Redacted(RedactedStateEvent<RedactedRoomEncryptionEventContent>),
}

Variants§

§

Original(OriginalStateEvent<RoomEncryptionEventContent>)

Original, unredacted form of the event.

§

Redacted(RedactedStateEvent<RedactedRoomEncryptionEventContent>)

Redacted form of the event with minimal fields.