def invite_user(self, url, token, encoding_aes_key, user_ids=None,<EOL>party_ids=None, tag_ids=None, invite_tips=None):
data = optionaldict()<EOL>data['<STR_LIT>'] = {<EOL>'<STR_LIT:url>': url,<EOL>'<STR_LIT>': token,<EOL>'<STR_LIT>': encoding_aes_key<EOL>}<EOL>if isinstance(user_ids, (tuple, list)):<EOL><INDENT>user_ids = '<STR_LIT:|>'.join(map(to_text, user_ids))<EOL><DEDENT>if isinstance(party_ids, (tuple, list)):<EOL><INDENT>party_ids = '<STR_LIT:|>'.join(map(to_text, party_ids))<EOL><DEDENT>if isinstance(tag_ids, (tuple, list)):<EOL><INDENT>tag_ids = '<STR_LIT:|>'.join(map(to_text, tag_ids))<EOL><DEDENT>data['<STR_LIT>'] = user_ids<EOL>data['<STR_LIT>'] = party_ids<EOL>data['<STR_LIT>'] = tag_ids<EOL>data['<STR_LIT>'] = invite_tips<EOL>return self._post('<STR_LIT>', data=data)<EOL>
邀请成员关注(deprecated)
https://qydev.weixin.qq.com/wiki/index.php?title=异步任务接口

:param url: 企业应用接收企业微信推送请求的访问协议和地址，支持http或https协议
:param token: 用于生成签名
:param encoding_aes_key: 用于消息体的加密，是AES密钥的Base64编码
:param user_ids: 可选，成员ID列表，多个接收者用‘|’分隔，最多支持1000个。
:param party_ids: 可选，部门ID列表，多个接收者用‘|’分隔，最多支持100个。
:param tag_ids: 可选，标签ID列表，多个接收者用‘|’分隔。
:param invite_tips: 可选，推送到微信上的提示语
:return: 返回的 JSON 数据包