           , (err, response, body) ->
             console.log "err: #{err}" if err?
 
+        when "hipchat"
+          room_id    = @info['target'][tg]['id']
+          room_token = @info['target'][tg]['token']
+          uri        = 'https://api.hipchat.com/v2/room/' + room_id + '/notification?auth_token=' + room_token
+          try
+            color = @info['target'][tg]['color']
+          catch
+            color = "blue"
+          form = {}
+          form['color']   = color
+          form[@fmtLabel] = @msgType
+          form[@msgLabel] = messages
+
+          request.post
+            url: uri
+            headers: @info['header']
+            json: true
+            body: JSON.stringify form
+          , (err, response, body) ->
+            console.log "err: #{err}" if err?
+
 module.exports = SendMessage

            headers: @info['header']
          , (err, response, body) ->
            console.log "err: #{err}" if err?
        when "slack"
          if @info['username']?
            @form['username'] = @info['username']

    @fmtLabel    = process.env.HUBOT_IRC_FMT_LABEL
    @infoFile    = process.env.HUBOT_IRC_INFO
    @info        = {}
    @infoFlag    = false
    @form        = {}
    @lineFeed    = ""
    @typeFlag    = false
    @typeArray   = ["irc", "http_post", "chatwork", "idobata", "slack", "hipchat"]
    @prefix      = "[send_message]"
    @maxLength   = 128

