code: func (api *Client) SetRestrictedContext(ctx context.Context, teamName, uid string, channelIds ...string) error {
  	values := url.Values{
  		"user":       {uid},
  		"token":      {api.token},
  		"set_active": {"true"},
  		"_attempts":  {"1"},
  		"channels":   {strings.Join(channelIds, ",")},
  	}
  
  	err := api.adminRequest(ctx, "setRestricted", teamName, values)
  	if err != nil {
  		return fmt.Errorf("failed to restrict account: %s", err)
  	}
  
  	return nil
  }
docs: // SetRestrictedContext converts a user into a restricted account with a custom context