code: def from_event(cls, event):
          
          source = Chatter(event.source)
          return cls(source, event.target, event.arguments[0], event.tags)
docs: Create a message from an event
  
          :param event: the event that was received of type ``pubmsg`` or ``privmsg``
          :type event: :class:`Event3`
          :returns: a message that resembles the event
          :rtype: :class:`Message3`
          :raises: None