Type Alias ruma::events::space::child::InitialSpaceChildEvent

source ·
pub type InitialSpaceChildEvent = InitialStateEvent<SpaceChildEventContent>;
Expand description

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

Aliased Type§

struct InitialSpaceChildEvent {
    pub content: SpaceChildEventContent,
    pub state_key: OwnedRoomId,
}

Fields§

§content: SpaceChildEventContent

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.