Wiki

Clone wiki

atlasboard / hipchat

About hipchat dependency

hipchat dependency allows you to send a message to a hipchat room

you will need a token, that you will place on the globalAuth file.

hipchat dependency code is on /lib/job-dependencies/hipchat

the hipchat library is on /lib/hipchat.js

Code example

#!javascript


    dependencies.hipchat.message(activity.hipchat.roomId, activity.hipchat.from,
            activity.hipchat.message, 1, function(err, statusCode){
                if (err){ return job_callback(err); }
                                console.log ('hipchat message sent')

            });

Updated