docs: def user(self, user: str, token: Optional[str] = None) -> "IntentAPI":
          """
          Get the intent API for a specific user. This is just a proxy to :func:`~HTTPAPI.intent`.
  
          You should only call this method for the bot user. Calling it with child intent APIs will
          result in a warning log.
  
          Args:
              user: The Matrix ID of the user whose intent API to get.
              token: The access token to use for the Matrix ID.
  
          Returns:
              The IntentAPI for the given user.
          """
          if not self.bot:
              return self.client.intent(user, token)
          else:
              self.log.warning("Called IntentAPI#user() of child intent object.")
              return self.bot.client.intent(user, token)