<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def groups_invite(self, *, channel: str, user: str, **kwargs) -> SlackResponse: """Invites a user to a private channel. Args: channel (str):
 The group id. e.g. 'G1234567890' user (str):
 The user id. e.g. 'U1234567890' """

        self._validate_xoxp_token()
        kwargs.update({"channel": channel, "user": user})
        return self.api_call("groups.invite", json=kwargs)