Skip to content

nonebot2 钉钉如何主动发起消息 #58

Answered by bytemain
nanshaobit asked this question in 问答
Discussion options

You must be logged in to vote
  1. 目前 get_bot 还有点问题,预计下个版本修复。
  2. 目前可以调用 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
  3. 单聊接口还未实现。

目前 nonebot2 以及 nonebot-adapter-ding 还处于早期预览版本,部分功能还没有实现。

不过我们接下来会有一波更新,请期待一下。

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by bytemain
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
问答
Labels
None yet
3 participants