Type Alias ruma_events::image::SyncImageEvent

source ·
pub type SyncImageEvent = SyncMessageLikeEvent<ImageEventContent>;
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.