Type Alias ruma::events::encrypted::EncryptedEvent

source ·
pub type EncryptedEvent = MessageLikeEvent<EncryptedEventContent>;
Available on crate features events and unstable-msc3956 only.
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.