matrix_sdk::ruma::events::message

Type Alias MessageEvent

Source
pub type MessageEvent = MessageLikeEvent<MessageEventContent>;
Available on crate feature 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.