       when "slack"
         @msgLabel = "text"
         @fmtLabel = "payload"
+      when "hipchat"
+        @msgLabel = "message"
+        @msgType  = "html"
+        @fmtLabel = "message_format"
 
     if @msgType == "html"
       @lineFeed = "<br />"

#   "read_json":   included in this repogitory
#
# Configuration:
#   HUBOT_IRC_TYPE: "irc", "http_post", "idobata", "chatwork"
#   HUBOT_IRC_MSG_TYPE: if you use "http_post", set the type of message. "string" or "html". default: "string"
#   HUBOT_IRC_MSG_LABEL: if you use "http_post", set the name of form's label.
#   HUBOT_IRC_INFO: path to headers file(json).
#
# HUBOT_IRC_INFO like this,
#

    @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

