code: def delete_message(self, message):
          
  
          message_id = message.object_id if isinstance(message,
                                                       Message) else message
  
          if message_id is None:
              raise RuntimeError('Provide a valid Message or a message id')
  
          url = self.build_url(
              self._endpoints.get('message').format(id=message_id))
  
          response = self.con.delete(url)
  
          return bool(response)
docs: Deletes a stored message
  
          :param message: message/message_id to delete
          :type message: Message or str
          :return: Success / Failure
          :rtype: bool