Piecewise

Build chat bots with blocks

create (visibility) room with name (name) with topic (topic) with alias (alias) invite (invite)

In Matrix → Rooms

Jump to block

Create a new Matrix room.

Requires the following blocks to be present in the project: matrix login

Parameters

Parameter name Parameter type Required? Description
visibility any The visibility of the room.
name String The user-friendly name of the room, i.e. “My Cool Room”.
topic String The topic of the room, i.e. “This is my cool room.”
alias String The alias localpart of the room, i.e. for a room called #myroom:piecewise.im, this should be “myroom”.
invite Array OR user User(s) to invite to the room, if any.

Output

room - The newly created room.