ruma::events::beacon

Type Alias SyncBeaconEvent

Source
pub type SyncBeaconEvent = SyncMessageLikeEvent<BeaconEventContent>;
Available on crate features events and unstable-msc3489 only.
Expand description

An org.matrix.msc3672.beacon event from a sync_events response.

Aliased Type§

enum SyncBeaconEvent {
    Original(OriginalSyncMessageLikeEvent<BeaconEventContent>),
    Redacted(RedactedSyncMessageLikeEvent<RedactedBeaconEventContent>),
}

Variants§

§

Original(OriginalSyncMessageLikeEvent<BeaconEventContent>)

Original, unredacted form of the event.

§

Redacted(RedactedSyncMessageLikeEvent<RedactedBeaconEventContent>)

Redacted form of the event with minimal fields.