feat(onebot): backfill returnsSchema on remaining read-only actions (c2: source-proven only)
This commit is contained in:
6 files changed
+612
-5
No files matched your search
@@ -89,6 +89,7 @@ export const actions = [
|
||||
name: 'get_msg',
|
||||
summary: '获取消息',
|
||||
readOnly: true,
|
||||
returns: '消息事件对象(首次收到时存储的副本,已去除 post_type/self_id、附带 real_id 字段并刷新图片 URL)。',
|
||||
params: { message_id: f.messageId() },
|
||||
run: async (p, ctx) => {
|
||||
const data = ctx.getMessage(p.message_id);
|
||||
|
||||
Reference in new issue
Block a user