code: def message(self, body, room_id, style='text'):
          ''' Send a message to the given room '''
          # 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 feedbacf message(self, body, room_id, style='text'):
          ''' Send a message to the given room '''
          # 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
docs: Send a message to the given room