def METHOD_NAME(group_id, user_id):
    url = 'https://slack.com/api/groups.invite'
    r = requests.get(url,
                     params={'token': _get_slack_token(), 'channel': group_id, 'user': user_id})
    json = r.json()
    if not json['ok']:
        raise SlackError(json['error'])