Type Alias ruma::events::message::MessageEvent

source ·
pub type MessageEvent = MessageLikeEvent<MessageEventContent>;
Available on crate features events and unstable-msc1767 only.
Expand description

An org.matrix.msc1767.message event.

Aliased Type§

enum MessageEvent {
    Original(OriginalMessageLikeEvent<MessageEventContent>),
    Redacted(RedactedMessageLikeEvent<RedactedMessageEventContent>),
}

Variants§

§

Original(OriginalMessageLikeEvent<MessageEventContent>)

Original, unredacted form of the event.

§

Redacted(RedactedMessageLikeEvent<RedactedMessageEventContent>)

Redacted form of the event with minimal fields.