def move_user(self, user_id, group_id):
data = {'<STR_LIT>': group_id}<EOL>if isinstance(user_id, (tuple, list)):<EOL><INDENT>endpoint = '<STR_LIT>'<EOL>data['<STR_LIT>'] = user_id<EOL><DEDENT>else:<EOL><INDENT>endpoint = '<STR_LIT>'<EOL>data['<STR_LIT>'] = user_id<EOL><DEDENT>return self._post(endpoint, data=data)<EOL>
移动用户分组

详情请参考
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)