Type Alias ruma::events::image::SyncImageEvent

source ·
pub type SyncImageEvent = SyncMessageLikeEvent<ImageEventContent>;
Available on crate features events and unstable-msc3552 only.
Expand description

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

Aliased Type§

enum SyncImageEvent {
    Original(OriginalSyncMessageLikeEvent<ImageEventContent>),
    Redacted(RedactedSyncMessageLikeEvent<RedactedImageEventContent>),
}

Variants§

§

Original(OriginalSyncMessageLikeEvent<ImageEventContent>)

Original, unredacted form of the event.

§

Redacted(RedactedSyncMessageLikeEvent<RedactedImageEventContent>)

Redacted form of the event with minimal fields.