code: def send_static_message(sender, message):
      
      dispatcher.send(
          signal=STATIC_MESSAGE_SIGNAL,
          sender=sender,
          message=message)
docs: Send a static message to the listeners.
  
      Static messages represents a whole new message. Usually it will
      replace the previous message.
  
      .. versionadded:: 3.3
  
      :param sender: The sender.
      :type sender: object
  
      :param message: An instance of our rich message class.
      :type message: safe.messaging.Message