Used to send a plain text message to the chatbot's user, a handlebars-like syntax can be used to insert values from the chat context, for example:


Hi {{firstName}}, your check is {{total}} euros



Some special values (like {{firstName}}, {{lastName}}, {{chatId}}, etc) are always available.

It's possible to specify more content versions for the same message, one will we randomly chosen with an even distribution.

The text message can be passed through the payload by the upstream node:


msg.payload = 'I am a message';

return msg;


or for multiple versions of the message


msg.payload = [

  'First version of the message',

  'Second version of the message'

];

return msg;



You can also use emoji from :https://getemoji.com