Type Alias ruma::events::room::encryption::RoomEncryptionEvent

source ·
pub type RoomEncryptionEvent = StateEvent<RoomEncryptionEventContent>;
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.