ruma_events::room::canonical_alias

Type Alias SyncRoomCanonicalAliasEvent

Source
pub type SyncRoomCanonicalAliasEvent = SyncStateEvent<RoomCanonicalAliasEventContent>;
Expand description

An m.room.canonical_alias event from a sync_events response.

Aliased Type§

enum SyncRoomCanonicalAliasEvent {
    Original(OriginalSyncStateEvent<RoomCanonicalAliasEventContent>),
    Redacted(RedactedSyncStateEvent<RedactedRoomCanonicalAliasEventContent>),
}

Variants§

§

Original(OriginalSyncStateEvent<RoomCanonicalAliasEventContent>)

Original, unredacted form of the event.

§

Redacted(RedactedSyncStateEvent<RedactedRoomCanonicalAliasEventContent>)

Redacted form of the event with minimal fields.