I am unable to find how to send a html message using
client.createMessage(trigger.data.roomId, 'Hi, I am the Hello World bot!', { "html":true }, function(err, message) {
if (err) {
console.log("WARNING: could not post message to room: " + command.message.roomId);
return;
}
});
in this case hello becomes bold but world does not become red.
I am unable to find how to send a html message using
client.createMessage(trigger.data.roomId, 'Hi, I am the Hello World bot!', { "html":true }, function(err, message) {
if (err) {
console.log("WARNING: could not post message to room: " + command.message.roomId);
return;
}
});
in this case hello becomes bold but world does not become red.