fix(onebot): expose group descriptions separately (#491)

Expose group descriptions without replacing the existing group memo behavior.

Fixes #490
Refs #491
This commit is contained in:
星陨 authored and GitHub committed 2026-10-04 15:43:39 +08:00
1 parent a6dfd04924
commit 1919e16081
10 files changed
+170 -1

No files matched your search

+10
View File
@@ -77,6 +77,16 @@ export interface QQGroupInfo {
level?: number;
/** Group memo / announcement preview. '' when unknown (#197). */
memo?: string;
/**
* Group description (群简介 — `0xFE5_2` tag 18). '' when unknown.
*
* Kept apart from `memo` on purpose (#490): `memo` prefers the announcement,
* and QQ commonly has only one of the two set, so `memo` alone cannot tell a
* description from an announcement. Only the group list carries it — the
* `0x88D_0` detail has no description tag, so this stays undefined for a
* group the account hasn't joined.
*/
description?: string;
/** Whether group-wide mute is currently in effect (expire still in the future). */
allMuted?: boolean;
}