ruma::events::room::pinned_events

Type Alias SyncRoomPinnedEventsEvent

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

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

Aliased Type§

enum SyncRoomPinnedEventsEvent {
    Original(OriginalSyncStateEvent<RoomPinnedEventsEventContent>),
    Redacted(RedactedSyncStateEvent<RedactedRoomPinnedEventsEventContent>),
}

Variants§

§

Original(OriginalSyncStateEvent<RoomPinnedEventsEventContent>)

Original, unredacted form of the event.

§

Redacted(RedactedSyncStateEvent<RedactedRoomPinnedEventsEventContent>)

Redacted form of the event with minimal fields.