Type Alias ruma::events::space::parent::InitialSpaceParentEvent

source ·
pub type InitialSpaceParentEvent = InitialStateEvent<SpaceParentEventContent>;
Expand description

An m.space.parent event for creating a room.

Aliased Type§

struct InitialSpaceParentEvent {
    pub content: SpaceParentEventContent,
    pub state_key: OwnedRoomId,
}

Fields§

§content: SpaceParentEventContent

Data specific to the event type.

§state_key: OwnedRoomId

A unique key which defines the overwriting semantics for this piece of room state.

This is often an empty string, but some events send a UserId to show which user the event affects.

Defaults to the empty string.