Type Alias ruma::events::message::SyncMessageEvent

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

An org.matrix.msc1767.message event from a sync_events response.

Aliased Type§

enum SyncMessageEvent {
    Original(OriginalSyncMessageLikeEvent<MessageEventContent>),
    Redacted(RedactedSyncMessageLikeEvent<RedactedMessageEventContent>),
}

Variants§

§

Original(OriginalSyncMessageLikeEvent<MessageEventContent>)

Original, unredacted form of the event.

§

Redacted(RedactedSyncMessageLikeEvent<RedactedMessageEventContent>)

Redacted form of the event with minimal fields.