Rocket.Chat Documentation - Send new chat message


The difference between chat.postMessage and chat.sendMessage is that chat.sendMessage allows for passing a value for _id and the other one doesn’t. Also, chat.sendMessage only sends it to one channel whereas the other one allows for sending to more than one channel at a time.

This is a companion discussion topic for the original entry at