ruma_events::reaction

Type Alias SyncReactionEvent

Source
pub type SyncReactionEvent = SyncMessageLikeEvent<ReactionEventContent>;
Expand description

An m.reaction event from a sync_events response.

Aliased Type§

enum SyncReactionEvent {
    Original(OriginalSyncMessageLikeEvent<ReactionEventContent>),
    Redacted(RedactedSyncMessageLikeEvent<RedactedReactionEventContent>),
}

Variants§

§

Original(OriginalSyncMessageLikeEvent<ReactionEventContent>)

Original, unredacted form of the event.

§

Redacted(RedactedSyncMessageLikeEvent<RedactedReactionEventContent>)

Redacted form of the event with minimal fields.