Type Alias ruma_events::image::ImageEvent

source ·
pub type ImageEvent = MessageLikeEvent<ImageEventContent>;
Expand description

An org.matrix.msc1767.image event.

Aliased Type§

enum ImageEvent {
    Original(OriginalMessageLikeEvent<ImageEventContent>),
    Redacted(RedactedMessageLikeEvent<RedactedImageEventContent>),
}

Variants§

§

Original(OriginalMessageLikeEvent<ImageEventContent>)

Original, unredacted form of the event.

§

Redacted(RedactedMessageLikeEvent<RedactedImageEventContent>)

Redacted form of the event with minimal fields.