nonebot2 钉钉如何主动发起消息 #58
Answered
by
bytemain
nanshaobit
asked this question in
问答
-
需求:使用钉钉机器人在定时任务或其他需要主动发起会话的情况下,主动发送消息。 问题:
|
Beta Was this translation helpful? Give feedback.
Answered by
bytemain
Dec 12, 2021
Replies: 2 comments
-
目前 nonebot2 以及 nonebot-adapter-ding 还处于早期预览版本,部分功能还没有实现。 不过我们接下来会有一波更新,请期待一下。 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
bytemain
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
get_bot
还有点问题,预计下个版本修复。bot.send
向任意 webhook 发送消息,需要传对应的参数即可。见:https://v2.nonebot.dev/guide/ding-guide.html#%E5%8F%91%E9%80%81%E5%88%B0%E7%89%B9%E5%AE%9A%E7%BE%A4%E8%81%8A目前 nonebot2 以及 nonebot-adapter-ding 还处于早期预览版本,部分功能还没有实现。
不过我们接下来会有一波更新,请期待一下。