Skip to content

接入企业微信的疑问 #1115

Answered by wangcham
MrXieH asked this question in Q&A
Discussion options

You must be logged in to vote

请问接入企业微信时,使用企业微信通讯录的secret的作用是什么?现有企业微信通讯录是使用接口同步的,开放的读写权限,langbot中是否有使用写企业微信通讯录?

LangBot 会通过 contacts_secret 获取通讯录的账号id名单,然后再将user_id传递给群发消息方法,达到群发消息的效果,期间不会将你的信息保存到本地,也不会对通讯录信息进行写操作。

具体方法请参照 libs/wecom_api/api.py 里的 send_to_allget_users 方法。

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by wangcham
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants