增加/fetch_emoji_likes_all (#1548)
* Update FetchEmojiLike.ts * 减少getMsgEmojiLikesList参数,一次性全部拉取 * Update FetchEmojiLike.ts * Refactor API message schema and update descriptions * Update and rename FetchEmojiLike.ts to FetchEmojiLikesAll.ts * Create FetchEmojiLike.ts * Update router.ts * Update index.ts * Update index.ts * Update FetchEmojiLikesAll.ts * Update FetchEmojiLikesAll.ts * Refactor emoji likes API and update related logic Replaces FetchEmojiLikesAll with GetEmojiLikes, updating the API to use a new payload and return schema. Adjusts action registration, router action names, and frontend API mapping accordingly. Adds isShortId utility to MessageUnique for improved message ID handling. --------- Co-authored-by: 手瓜一十雪 <nanaeonn@outlook.com>
This commit is contained in:
1 parent
3b99eb9658
commit
a96eccb914
5 files changed
+111
-11
No files matched your search
@@ -65,6 +65,7 @@ import SetGroupPortrait from './go-cqhttp/SetGroupPortrait';
|
||||
import { FetchCustomFace } from './extends/FetchCustomFace';
|
||||
import GoCQHTTPUploadPrivateFile from './go-cqhttp/UploadPrivateFile';
|
||||
import { FetchEmojiLike } from './extends/FetchEmojiLike';
|
||||
import { GetEmojiLikes } from './extends/GetEmojiLikes';
|
||||
import { NapCatCore } from 'napcat-core';
|
||||
import type { NetworkAdapterConfig } from '../config/config';
|
||||
import { OneBotAction } from './OneBotAction';
|
||||
@@ -183,6 +184,7 @@ export function createActionMap (obContext: NapCatOneBot11Adapter, core: NapCatC
|
||||
new SetGroupRemark(obContext, core),
|
||||
new GetGroupInfoEx(obContext, core),
|
||||
new FetchEmojiLike(obContext, core),
|
||||
new GetEmojiLikes(obContext, core),
|
||||
new GetFile(obContext, core),
|
||||
new SetQQProfile(obContext, core),
|
||||
new ShareGroupEx(obContext, core),
|
||||
|
||||
Reference in new issue
Block a user