fix(onebot): degrade unknown group essence types so one share card cannot fail the list

get_essence_msg_list used to abort the whole digest when an entry used
an unmapped content type. Unknown items now fall back to readable text
so the rest of the list still returns.

Fixes #453
This commit is contained in:
DrSmoothl committed 2026-09-14 19:34:18 +08:00
1 parent 6b66d4ab46
commit 9ac39f480a
3 files changed
+65 -12

No files matched your search

@@ -14,6 +14,10 @@ export interface GroupEssenceContent {
file_id?: string;
file_thumbnail_url?: string;
file_size?: number | string;
share_title?: string;
share_summary?: string;
share_brief?: string;
share_url?: string;
}
export interface GroupEssenceMessage {