pub fn new(creator: UserId) -> Self {
        Self {
            creator,
            federate: true,
            room_version: default_room_version_id(),
            predecessor: None,
            #[cfg(feature = "unstable-pre-spec")]
            room_type: None,
        }
    }
/// Creates a new `CreateEventContent` with the given creator.
Creates a new `CreateEventContent` with the given creator.
Creates a new ` CreateEventContent ` with the given creator .
pub fn new(creator: UserId) -> Self {
        Self {
            creator,
            federate: true,
            room_version: default_room_version_id(),
            predecessor: None,
            #[cfg(feature = "unstable-pre-spec")]
            room_type: None,
        }
    }
pub fn new ( creator : UserId ) -> Self { Self { creator , federate : true , room_version : default_room_version_id ( ) , predecessor : None , # [ cfg ( feature " " ) ] room_type : None , } }
Creates a new `CreateEventContent` with the given creator.
Creates a new ` CreateEventContent ` with the given creator .
creator
UserId