ruma::events::image

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