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:
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 {
|
||||
|
||||
Reference in new issue
Block a user