From edde2c210b15f83b7df7a07e9e3ab39ad314ea87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Mon, 25 Nov 2024 19:24:51 +0800 Subject: [PATCH] feat: type --- src/core/types/msg.ts | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/core/types/msg.ts b/src/core/types/msg.ts index bc310f74..d4b3f5cf 100644 --- a/src/core/types/msg.ts +++ b/src/core/types/msg.ts @@ -383,12 +383,21 @@ export enum MemberAddShowType { K_YOU_INVITE_OTHER = 7, } +/** + * 群提示元素成员角色枚举 + */ +export enum NTGroupGrayElementRole { + KOTHER = 0, + KMEMBER = 1, + KADMIN = 2 +} + /** * 群提示元素接口 */ export interface TipGroupElement { type: TipGroupElementType; - role: 0; + role: NTGroupGrayElementRole; groupName: string; memberUid: string; memberNick: string;