ruma::events::reaction

Type Alias SyncReactionEvent

Source
pub type SyncReactionEvent = SyncMessageLikeEvent<ReactionEventContent>;
Available on crate feature events only.
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.