ruma::events::room::name

Type Alias SyncRoomNameEvent

Source
pub type SyncRoomNameEvent = SyncStateEvent<RoomNameEventContent>;
Available on crate feature events only.
Expand description

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

Aliased Type§

enum SyncRoomNameEvent {
    Original(OriginalSyncStateEvent<RoomNameEventContent>),
    Redacted(RedactedSyncStateEvent<RedactedRoomNameEventContent>),
}

Variants§

§

Original(OriginalSyncStateEvent<RoomNameEventContent>)

Original, unredacted form of the event.

§

Redacted(RedactedSyncStateEvent<RedactedRoomNameEventContent>)

Redacted form of the event with minimal fields.