I am developing an app that lists all the users in a room and checks when each user last logged in.
I construct the message like this:
const builder = modify.getCreator().startMessage() .setSender(context.getSender()) .setText(messageText) .setUsernameAlias('security-check') .setRoom(room);
How can I ensure that the output of the app is not visible to all users of the room (so to speak, it becomes a system message). Is there a “setVisibilty”-Property?
Thanks in advance!