def message(self, body, room_id, style='text'):
        # TODO Automatically detect body format ?
        path = 'rooms/message'
        data = {
            'room_id': room_id,
            'message': body,
            'from': self.name,
            'notify': 1,
            'message_format': style,
            'color': self.bg_color
        }
        log.info('sending message to hipchat', message=body, room=room_id)
        feedback = self._api_call(path, data, requests.post)
        log.debug(feedback)
        return feedback
Send a message to the given room
dataset/ETHPy150Open intuition-io/insights/insights/plugins/hipchat.py/Bot.message