code: def message_to_objects(
          message: Dict, sender: str, sender_key_fetcher: Callable[[str], str] = None, user: UserType = None,
  ) -> List:
      
      # We only really expect one element here for ActivityPub.
      return element_to_objects(message)
docs: Takes in a message extracted by a protocol and maps it to entities.