Sending Whispers:

The method whisper.send() is used to send a whisper to a specific user in the room. It requires two parameters: the user ID of the recipient and the message to be sent.

// Assuming you have defined the Highrise instance as "bot".
bot.on("chatCreate", async (user, message) => {
  if (message === "whisper") {
    bot.whisper.send(user.id, "Hello, world!").catch(e => console.error(e));
  }
});

Go Back: Sending Messages