ruma_events::room::canonical_alias

Type Alias RoomCanonicalAliasEvent

Source
pub type RoomCanonicalAliasEvent = StateEvent<RoomCanonicalAliasEventContent>;
Expand description

An m.room.canonical_alias event.

Aliased Type§

enum RoomCanonicalAliasEvent {
    Original(OriginalStateEvent<RoomCanonicalAliasEventContent>),
    Redacted(RedactedStateEvent<RedactedRoomCanonicalAliasEventContent>),
}

Variants§

§

Original(OriginalStateEvent<RoomCanonicalAliasEventContent>)

Original, unredacted form of the event.

§

Redacted(RedactedStateEvent<RedactedRoomCanonicalAliasEventContent>)

Redacted form of the event with minimal fields.