Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

search_new_friend 怎么使用,参数有哪些,求告知!!! #5

Open
anylayer opened this issue Sep 9, 2022 · 8 comments
Open

Comments

@anylayer
Copy link

anylayer commented Sep 9, 2022

No description provided.

@cluic
Copy link
Owner

cluic commented Sep 9, 2022

查找新的联系人

Args:
value (str): 要查找的值,手机号、微信号、QQ号等

Returns:
如果查找到陌生人,则返回 Stranger 对象
如果查找到的为已添加的好友,则返回 Person 对象
否则返回 None

@anylayer
Copy link
Author

anylayer commented Sep 9, 2022


image

@anylayer
Copy link
Author

anylayer commented Sep 9, 2022

搜索微信号 出现这个错误

@anylayer
Copy link
Author

anylayer commented Sep 9, 2022

搜索微信号 出现这个错误

是我使用方法不对吗
wx.search_new_friend('xxxxxx')

@anylayer
Copy link
Author

anylayer commented Sep 9, 2022

inspect 反射获取不了参数信息

@anylayer
Copy link
Author

stranger 是个什么呢,方便解答下吗

@cluic
Copy link
Owner

cluic commented Sep 14, 2022

就是未添加好友的状态,可以调用Stranger对象的add_friend方法发起好友请求

@cluic
Copy link
Owner

cluic commented Sep 14, 2022

搜索微信号 出现这个错误

这个我再调试一下看看,可能是我写的有bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants