-
请问接入企业微信时,使用企业微信通讯录的secret的作用是什么?现有企业微信通讯录是使用接口同步的,开放的读写权限,langbot中是否有使用写企业微信通讯录? |
Beta Was this translation helpful? Give feedback.
Answered by
wangcham
Mar 12, 2025
Replies: 1 comment
-
LangBot 会通过 contacts_secret 获取通讯录的账号id名单,然后再将user_id传递给群发消息方法,达到群发消息的效果,期间不会将你的信息保存到本地,也不会对通讯录信息进行写操作。 具体方法请参照 libs/wecom_api/api.py 里的 send_to_all 和 get_users 方法。 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
wangcham
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
LangBot 会通过 contacts_secret 获取通讯录的账号id名单,然后再将user_id传递给群发消息方法,达到群发消息的效果,期间不会将你的信息保存到本地,也不会对通讯录信息进行写操作。
具体方法请参照 libs/wecom_api/api.py 里的 send_to_all 和 get_users 方法。