ruma::events::beacon

Type Alias BeaconEvent

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

An org.matrix.msc3672.beacon event.

Aliased Type§

enum BeaconEvent {
    Original(OriginalMessageLikeEvent<BeaconEventContent>),
    Redacted(RedactedMessageLikeEvent<RedactedBeaconEventContent>),
}

Variants§

§

Original(OriginalMessageLikeEvent<BeaconEventContent>)

Original, unredacted form of the event.

§

Redacted(RedactedMessageLikeEvent<RedactedBeaconEventContent>)

Redacted form of the event with minimal fields.