Type Alias ruma_events::encrypted::EncryptedEvent

source ·
pub type EncryptedEvent = MessageLikeEvent<EncryptedEventContent>;
Expand description

An org.matrix.msc1767.encrypted event.

Aliased Type§

enum EncryptedEvent {
    Original(OriginalMessageLikeEvent<EncryptedEventContent>),
    Redacted(RedactedMessageLikeEvent<RedactedEncryptedEventContent>),
}

Variants§

§

Original(OriginalMessageLikeEvent<EncryptedEventContent>)

Original, unredacted form of the event.

§

Redacted(RedactedMessageLikeEvent<RedactedEncryptedEventContent>)

Redacted form of the event with minimal fields.