Liking cljdoc? Tell your friends :D

matrix-client-server-api.api.room-creation


create-roomclj

(create-room)
(create-room optional-params)

Create a new room Create a new room with various configuration options.

The server MUST apply the normal state resolution rules when creating the new room, including checking power levels for each event. It MUST apply the events implied by the request in the following order:

  1. A default m.room.power_levels event, giving the room creator (and not other members) permission to send state events.

  2. Events set by presets.

  3. Events listed in initial_state, in the order that they are listed.

  4. Events implied by name and topic.

  5. Invite events implied by invite and invite_3pid.

Create a new room
  Create a new room with various configuration options.

The server MUST apply the normal state resolution rules when creating
the new room, including checking power levels for each event. It MUST
apply the events implied by the request in the following order:

0. A default ``m.room.power_levels`` event, giving the room creator
   (and not other members) permission to send state events.

1. Events set by ``presets``.

2. Events listed in ``initial_state``, in the order that they are
   listed.

3. Events implied by ``name`` and ``topic``.

4. Invite events implied by ``invite`` and ``invite_3pid``.
raw docstring

create-room-with-http-infoclj

(create-room-with-http-info)
(create-room-with-http-info {:keys [body]})

Create a new room Create a new room with various configuration options.

The server MUST apply the normal state resolution rules when creating the new room, including checking power levels for each event. It MUST apply the events implied by the request in the following order:

  1. A default m.room.power_levels event, giving the room creator (and not other members) permission to send state events.

  2. Events set by presets.

  3. Events listed in initial_state, in the order that they are listed.

  4. Events implied by name and topic.

  5. Invite events implied by invite and invite_3pid.

Create a new room
  Create a new room with various configuration options.

The server MUST apply the normal state resolution rules when creating
the new room, including checking power levels for each event. It MUST
apply the events implied by the request in the following order:

0. A default ``m.room.power_levels`` event, giving the room creator
   (and not other members) permission to send state events.

1. Events set by ``presets``.

2. Events listed in ``initial_state``, in the order that they are
   listed.

3. Events implied by ``name`` and ``topic``.

4. Invite events implied by ``invite`` and ``invite_3pid``.
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close