feat(onebot): fetch custom face details

Add packet-backed custom face detail retrieval and expose the result through the OneBot action.

Fixes #333
This commit is contained in:
DrSmoothl committed 2026-08-09 11:45:43 +08:00
1 parent 49439370e1
commit 597a4c05f3
8 files changed
+363 -7

No files matched your search

+4 -2
View File
@@ -666,8 +666,10 @@ export interface CustomFaceModifyBody {
// 0x902e modify 响应:f1=retcode, f2=errmsg, f3=opType, f4 repeated 受影响条目
// {f1:{emojiId,md5}, f3:desc}(含改后 desc)。
export interface CustomFaceModifyRespEntry {
emoji?: pb<1, CustomFaceOpEmojiEntry>;
desc?: pb<3, string>;
emoji?: pb<1, CustomFaceOpEmojiEntry>;
/** Older QQ builds return the description in tag 2. */
legacyDesc?: pb<2, string>;
desc?: pb<3, string>;
}
export interface CustomFaceModifyResp {
retCode?: pb<1, uint_32>;