ruma::events::room::pinned_events

Type Alias RoomPinnedEventsEvent

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

An m.room.pinned_events event.

Aliased Type§

enum RoomPinnedEventsEvent {
    Original(OriginalStateEvent<RoomPinnedEventsEventContent>),
    Redacted(RedactedStateEvent<RedactedRoomPinnedEventsEventContent>),
}

Variants§

§

Original(OriginalStateEvent<RoomPinnedEventsEventContent>)

Original, unredacted form of the event.

§

Redacted(RedactedStateEvent<RedactedRoomPinnedEventsEventContent>)

Redacted form of the event with minimal fields.