feat(qzone): add QQ space message deletion functionality (#1978)
- Add deleteQzoneMsg API method to NTQQWebApi for deleting Qzone posts by tid - Implement buildQzoneDeleteBody to construct form-encoded request payload - Implement parseQzoneDeleteResponse to validate deletion API response - Add QzoneDeleteResponse and QzoneDeleteParams type definitions - Create DeleteQzoneMsg OneBot action handler with payload validation - Register delete_qzone_msg action in router and action handlers - Add example payload and response for DeleteQzoneMsg action - Add comprehensive unit tests for delete body construction and response parsing - Fix indentation inconsistency in createAlbumCommentRequest call
This commit is contained in:
1 parent
cbec362ed1
commit
33ee94ab0f
7 files changed
+121
-4
No files matched your search
@@ -46,4 +46,8 @@ export const ExtendsActionsExamples = {
|
||||
payload: { content: '今天天气不错', images: [], ugc_right: 1, target_uins: [] },
|
||||
response: { tid: '1234567890abcdef1234567890' },
|
||||
},
|
||||
DeleteQzoneMsg: {
|
||||
payload: { tid: '1234567890abcdef1234567890' },
|
||||
response: null,
|
||||
},
|
||||
};
|
||||
Reference in new issue
Block a user