ruma_events::message

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