Type Alias ruma::events::image::ImageEvent

source ·
pub type ImageEvent = MessageLikeEvent<ImageEventContent>;
Available on crate features events and unstable-msc3552 only.
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.