feat: implement default mark msg as read and add get clientkey onebot api
This commit is contained in:
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),
|
||||
|
||||
Reference in new issue
Block a user