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

用户发消息到服务端后,回复用户时如何实现@功能 #62

Open
huangbaichao opened this issue Aug 31, 2023 · 0 comments
Open

Comments

@huangbaichao
Copy link

huangbaichao commented Aug 31, 2023

at_dingtalk_ids = ["xxx"]
xiaoding.send_markdown(title='氧气文字', text='#### 广州天气 @xxx \n'
'> 9度,西北风1级,空气良89,相对温度73%\n\n'
'> 美景\n'
'> ###### 10点20分发布 天气 \n',
at_dingtalk_ids=at_dingtalk_ids, is_auto_at=False)

这样使用无效,userId应该如何获取呢?
我暂时从用户post的消息里拿了atUsers里的dingtalkId字段

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

1 participant