matrix_sdk_base::ruma::events::location

Type Alias LocationEvent

Source
pub type LocationEvent = MessageLikeEvent<LocationEventContent>;
Available on crate feature unstable-msc3488 only.
Expand description

An m.location event.

Aliased Type§

enum LocationEvent {
    Original(OriginalMessageLikeEvent<LocationEventContent>),
    Redacted(RedactedMessageLikeEvent<RedactedLocationEventContent>),
}

Variants§

§

Original(OriginalMessageLikeEvent<LocationEventContent>)

Original, unredacted form of the event.

§

Redacted(RedactedMessageLikeEvent<RedactedLocationEventContent>)

Redacted form of the event with minimal fields.