ruma_events::image

Type Alias 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.