feat(onebot): report group special title grant as notify/title

Decode the 0x2DC subType-16 field13==6 push: eventParam carries the member
uin (f5) and a gray-tip template (f2) whose last rich token holds the title
text. Emit notify/title {group_id, user_id, title}, matching NapCat. Field
layout taken from a real on-wire sample, not ported blindly.
This commit is contained in:
DrSmoothl committed 2026-07-07 02:53:38 +08:00
1 parent d3d1d2512e
commit 0d4d58605f
7 files changed
+133 -2

No files matched your search

@@ -19,6 +19,7 @@ import {
convertGroupMsgEmojiLike,
convertGroupMute,
convertGroupNameChange,
convertGroupTitleChange,
convertGroupPoke,
convertGroupRecall,
} from './to-notice';
@@ -83,6 +84,7 @@ const CONVERTERS: ConverterRegistry = {
friend_add: convertFriendAdd,
friend_input_status: convertFriendInputStatus,
group_name_change: convertGroupNameChange,
group_title_change: convertGroupTitleChange,
group_card_change: convertGroupCardChange,
group_msg_emoji_like: convertGroupMsgEmojiLike,
// Requests.