feat: implement default mark msg as read and add get clientkey onebot api

This commit is contained in:
H3CoF6 committed 2026-05-08 16:42:19 +08:00
1 parent e3e364db63
commit 7e2ba60073
5 files changed
+50 -3

No files matched your search

@@ -112,6 +112,8 @@ export function buildApiContext(ref: InstanceRef): ApiActionContext {
getForwardMsg: async (resId) => {
return handleGetForward(ref, resId);
},
forceFetchClientKey: async () => bridge.forceFetchClientKey(),
// Extended NapCat-compatible
setFriendRemark: (userId, remark) => bridge.setFriendRemark(userId, remark),
getGroupFileCount: (groupId) => bridge.fetchGroupFileCount(groupId),