Type Alias ruma_events::encrypted::SyncEncryptedEvent

source ·
pub type SyncEncryptedEvent = SyncMessageLikeEvent<EncryptedEventContent>;
Expand description

An org.matrix.msc1767.encrypted event from a sync_events response.

Aliased Type§

enum SyncEncryptedEvent {
    Original(OriginalSyncMessageLikeEvent<EncryptedEventContent>),
    Redacted(RedactedSyncMessageLikeEvent<RedactedEncryptedEventContent>),
}

Variants§

§

Original(OriginalSyncMessageLikeEvent<EncryptedEventContent>)

Original, unredacted form of the event.

§

Redacted(RedactedSyncMessageLikeEvent<RedactedEncryptedEventContent>)

Redacted form of the event with minimal fields.