feat(onebot): implement rename_group_file (OIDB 0x6D6_4)
Add the file-rename slot to the group-file OIDB envelope (req/resp field 5), a RenameGroupFile service mirroring MoveGroupFile, a groupFile.rename() api method, and the rename_group_file action (params group_id/file_id/ current_parent_directory/new_name, NapCat-aligned), replacing the stub. Wire fields (busId=102, parentFolder=current dir, newFileName) verified against NapCat's Oidb.0x6D6 transformer; subCommand 4 cross-checked against the move op (sub 5 on both sides). Serialize + envelope round-trip test locks the pb tags.
This commit is contained in:
8 files changed
+178
-9
No files matched your search
@@ -263,6 +263,10 @@
|
||||
"types": "./src/oidb-services/group-file/move-group-file.ts",
|
||||
"default": "./src/oidb-services/group-file/move-group-file.ts"
|
||||
},
|
||||
"./oidb-services/group-file/rename-group-file": {
|
||||
"types": "./src/oidb-services/group-file/rename-group-file.ts",
|
||||
"default": "./src/oidb-services/group-file/rename-group-file.ts"
|
||||
},
|
||||
"./oidb-services/group-file/create-group-folder": {
|
||||
"types": "./src/oidb-services/group-file/create-group-folder.ts",
|
||||
"default": "./src/oidb-services/group-file/create-group-folder.ts"
|
||||
|
||||
Reference in new issue
Block a user