code: def write_message(self, message):
          
          logging.debug("Sending message {mes} to {usr}".format(mes=message, usr=self.id))
          self.handler.write_message(message)
docs: Writes a message to this chat connection's handler