pub(crate) async fn create_room_route(
__arg0: State<State>,
body: Args<Request>,
) -> Result<Response>Expand description
ยงPOST /_matrix/client/v3/createRoom
Creates a new room.
- Room ID is randomly generated
- Create alias if
room_alias_nameis set - Send create event
- Join sender user
- Send power levels event
- Send canonical room alias
- Send join rules
- Send history visibility
- Send guest access
- Send events listed in initial state
- Send events implied by
nameandtopic - Send invite events