ruma::events::room::topic

Type Alias RoomTopicEvent

Source
pub type RoomTopicEvent = StateEvent<RoomTopicEventContent>;
Available on crate feature events only.
Expand description

An m.room.topic event.

Aliased Type§

enum RoomTopicEvent {
    Original(OriginalStateEvent<RoomTopicEventContent>),
    Redacted(RedactedStateEvent<RedactedRoomTopicEventContent>),
}

Variants§

§

Original(OriginalStateEvent<RoomTopicEventContent>)

Original, unredacted form of the event.

§

Redacted(RedactedStateEvent<RedactedRoomTopicEventContent>)

Redacted form of the event with minimal fields.