I am trying to create a bot for jabber and it works fine if i send a message to a user e.g
bot.say(message = {
text: 'hi',
user: 'user@domain.com'
})
However when I am trying to do the same thing for a chat room it fails to do so. Do I need a specific JID for the chat room, if so where can I find it? I am currently trying with the following which fails.
bot.say(message = {
text: 'hi',
channel: 'roomName@domain.com'
})
This bot is written using botkit in javascript.