feat(qzone): add QQ space message publishing and image upload (#1965)
- Add QzonePublishResponse interface and parsing logic for publish API responses - Add buildQzonePublishBody function to construct publish request parameters - Add buildQzoneUploadImageBody function to construct image upload request parameters - Add parseQzoneUploadImageResponseText function to parse upload API responses - Add toQzoneRichval function to format image data for publish requests - Add publishQzoneMsg method to NTQQWebApi for publishing space messages with optional images - Add uploadImageToQzone method to NTQQWebApi for uploading images to QQ space - Add getQzoneAuth private method to retrieve authentication tokens (skey, pskey, g_tk) - Add SendQzoneMsg action handler to expose QQ space publishing via OneBot API - Add comprehensive unit tests for all Qzone data construction and parsing functions - Update action router to register SendQzoneMsg action - Update action examples to demonstrate Qzone publishing usage
This commit is contained in:
1 parent
216d0c7c6b
commit
288cc7c54f
7 files changed
+400
No files matched your search
@@ -214,4 +214,7 @@ export const ActionName = {
|
||||
CancelOnlineFile: 'cancel_online_file',
|
||||
|
||||
GetGroupSignedList: 'get_group_signed_list',
|
||||
|
||||
// QQ 空间扩展
|
||||
SendQzoneMsg: 'send_qzone_msg',
|
||||
} as const;
|
||||
Reference in new issue
Block a user