Build chat bots with blocks

(action) user (user) from room (room) with reason (reason)

In Matrix → Moderation

Jump to block

Perform moderation actions on a user in a particular Matrix room.


Parameter name Parameter type Required? Description
action any The action to perform.
user user The user to take action on.
room room The target room to take action on.
reason String The reason for taking the target action. If the action is an unban, this is ignored.


void - This is a statement with no outputs