Replies: 3 comments
-
emm有个东西叫echo字段() |
Beta Was this translation helpful? Give feedback.
0 replies
This comment was marked as off-topic.
This comment was marked as off-topic.
-
这个字段的说明在communication里,应该在API概述里加一条链接指向该内容 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
最近自己也在造轮子,把多个第三方插件整合在一个新的插件里,并且添加一些功能和钩子。由于使用消息队列和onebot通信,接收API的调用结果,所以无法得知API的调用者是哪个插件。
建议在API请求和返回时添加一个caller_info字段,用来识别调用者信息。该字段在请求时由调用方添加;如果该字段存在,onebot原样在返回的结果中原样保留该字段。
Beta Was this translation helpful? Give feedback.
All reactions