wrapper.py 文件源码

python
阅读 25 收藏 0 点赞 0 评论 0

项目:wbot 作者: PY-Learning 项目源码 文件源码
def add_friend(user_name, status=2, verify_content='', auto_update=True):
        ''' add a friend or accept a friend
            for options
                - user_name: 'user_name' for friend's info dict
                - status:
                    - for adding status should be 2
                    - for accepting status should be 3
                - ticket: greeting message
                - userInfo: friend's other info for adding into local storage
            it is defined in components/contact.py
        '''
        return itchat.add_friend(user_name, status, verify_content, auto_update)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号