code: def move_user(self, user_id, group_id):
          
          data = {'to_groupid': group_id}
          if isinstance(user_id, (tuple, list)):
              endpoint = 'groups/members/batchupdate'
              data['openid_list'] = user_id
          else:
              endpoint = 'groups/members/update'
              data['openid'] = user_id
          return self._post(endpoint, data=data)
docs: 移动用户分组
  
          详情请参考
          http://mp.weixin.qq.com/wiki/0/56d992c605a97245eb7e617854b169fc.html
  
          :param user_id: 用户 ID, 可以是单个或者列表，为列表时为批量移动用户分组
          :param group_id: 分组 ID
          :return: 返回的 JSON 数据包
  
          使用示例::
  
              from wechatpy import WeChatClient
  
              client = WeChatClient('appid', 'secret')
              res = client.group.move_user('openid', 1234)