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

source ·
pub type MessageEvent = MessageLikeEvent<MessageEventContent>;
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.