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

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